Merge misc updates from Andrew Morton: - a few misc things - ocfs2 updates - most of MM * emailed patches from Andrew Morton <akpm@linux-foundation.org>: (159 commits) tools/testing/selftests/proc/proc-self-syscall.c: remove duplicate include proc: more robust bulk read test proc: test /proc/*/maps, smaps, smaps_rollup, statm proc: use seq_puts() everywhere proc: read kernel cpu stat pointer once proc: remove unused argument in proc_pid_lookup() fs/proc/thread_self.c: code cleanup for proc_setup_thread_self() fs/proc/self.c: code cleanup for proc_setup_self() proc: return exit code 4 for skipped tests mm,mremap: bail out earlier in mremap_to under map pressure mm/sparse: fix a bad comparison mm/memory.c: do_fault: avoid usage of stale vm_area_struct writeback: fix inode cgroup switching comment mm/huge_memory.c: fix "orig_pud" set but not used mm/hotplug: fix an imbalance with DEBUG_PAGEALLOC mm/memcontrol.c: fix bad line in comment mm/cma.c: cma_declare_contiguous: correct err handling mm/page_ext.c: fix an imbalance with kmemleak mm/compaction: pass pgdat to too_many_isolated() instead of zone mm: remove zone_lru_lock() function, access ->lru_lock directly ...
Showing the changes to tools/include/linux (1 of 213 files). Show all
Unified · Split
| @@ -0,0 +1,16 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0 */ | |
| 2 | +#ifndef _LINUX_NUMA_H | |
| 3 | +#define _LINUX_NUMA_H | |
| 4 | + | |
| 5 | + | |
| 6 | +#ifdef CONFIG_NODES_SHIFT | |
| 7 | +#define NODES_SHIFT CONFIG_NODES_SHIFT | |
| 8 | +#else | |
| 9 | +#define NODES_SHIFT 0 | |
| 10 | +#endif | |
| 11 | + | |
| 12 | +#define MAX_NUMNODES (1 << NODES_SHIFT) | |
| 13 | + | |
| 14 | +#define NUMA_NO_NODE (-1) | |
| 15 | + | |
| 16 | +#endif /* _LINUX_NUMA_H */ | |