Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1 | #ifndef _LINUX_NUMA_H |
2 | #define _LINUX_NUMA_H | ||||
3 | |||||
4 | #include <linux/config.h> | ||||
5 | |||||
Yasunori Goto | c80d79d | 2006-04-10 22:53:53 -0700 | [diff] [blame^] | 6 | #ifdef CONFIG_NODES_SHIFT |
7 | #define NODES_SHIFT CONFIG_NODES_SHIFT | ||||
8 | #else | ||||
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 9 | #define NODES_SHIFT 0 |
10 | #endif | ||||
11 | |||||
12 | #define MAX_NUMNODES (1 << NODES_SHIFT) | ||||
13 | |||||
14 | #endif /* _LINUX_NUMA_H */ |