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