Commit Graph
2 Commits
Author SHA1 Message Date
Wei Yang 9364a7e40d memblock tests: fix implicit declaration of function 'numa_valid_node'
commit 8043832e2a ("memblock: use numa_valid_node() helper to check
for invalid node ID") introduce a new helper numa_valid_node(), which is
not defined in memblock tests.

Let's add it in the corresponding header file.

Signed-off-by: Wei Yang <[email protected]>
CC: Mike Rapoport (IBM) <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Mike Rapoport <[email protected]>
2024-07-05 11:24:47 +03:00
Stephen Rothwell 7c9eefe82c tools/: replace open encodings for NUMA_NO_NODE
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]>
2019-03-05 21:07:14 -08:00