mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs.git
synced 2026-10-30 22:03:17 +01:00
This replaces all open encodings in tools with NUMA_NO_NODE. Also linux/numa.h is now needed for the perf build. [[email protected]: fix for replace open encodings for NUMA_NO_NODE] Link: http://lkml.kernel.org/r/[email protected] Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Stephen Rothwell <[email protected]> Signed-off-by: Anshuman Khandual <[email protected]> Signed-off-by: Stephen Rothwell <[email protected]> Cc: David Hildenbrand <[email protected]> Cc: Doug Ledford <[email protected]> [drivers/infiniband] Cc: Hans Verkuil <[email protected]> Cc: Jeff Kirsher <[email protected]> [ixgbe] Cc: Jens Axboe <[email protected]> [mtip32xx] Cc: Joseph Qi <[email protected]> Cc: Michael Ellerman <[email protected]> [powerpc] Cc: Vinod Koul <[email protected]> [dmaengine.c] Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
17 lines
292 B
C
17 lines
292 B
C
/* SPDX-License-Identifier: GPL-2.0 */
|
|
#ifndef _LINUX_NUMA_H
|
|
#define _LINUX_NUMA_H
|
|
|
|
|
|
#ifdef CONFIG_NODES_SHIFT
|
|
#define NODES_SHIFT CONFIG_NODES_SHIFT
|
|
#else
|
|
#define NODES_SHIFT 0
|
|
#endif
|
|
|
|
#define MAX_NUMNODES (1 << NODES_SHIFT)
|
|
|
|
#define NUMA_NO_NODE (-1)
|
|
|
|
#endif /* _LINUX_NUMA_H */
|