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