2005-04-17 06:20:36 +08:00
|
|
|
#ifndef _LINUX_NUMA_H
|
|
|
|
#define _LINUX_NUMA_H
|
|
|
|
|
|
|
|
|
2006-04-11 13:53:53 +08:00
|
|
|
#ifdef CONFIG_NODES_SHIFT
|
|
|
|
#define NODES_SHIFT CONFIG_NODES_SHIFT
|
|
|
|
#else
|
2005-04-17 06:20:36 +08:00
|
|
|
#define NODES_SHIFT 0
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#define MAX_NUMNODES (1 << NODES_SHIFT)
|
|
|
|
|
2009-12-15 09:58:23 +08:00
|
|
|
#define NUMA_NO_NODE (-1)
|
|
|
|
|
2005-04-17 06:20:36 +08:00
|
|
|
#endif /* _LINUX_NUMA_H */
|