blob: 3aaa31603a861a98d44f0d2b7862c582c589d934 [file] [log] [blame]
Linus Torvalds1da177e2005-04-16 15:20:36 -07001#ifndef _LINUX_NUMA_H
2#define _LINUX_NUMA_H
3
Linus Torvalds1da177e2005-04-16 15:20:36 -07004
Yasunori Gotoc80d79d2006-04-10 22:53:53 -07005#ifdef CONFIG_NODES_SHIFT
6#define NODES_SHIFT CONFIG_NODES_SHIFT
7#else
Linus Torvalds1da177e2005-04-16 15:20:36 -07008#define NODES_SHIFT 0
9#endif
10
11#define MAX_NUMNODES (1 << NODES_SHIFT)
12
Lee Schermerhorn4e25b252009-12-14 17:58:23 -080013#define NUMA_NO_NODE (-1)
14
Linus Torvalds1da177e2005-04-16 15:20:36 -070015#endif /* _LINUX_NUMA_H */