git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fedora core 6 1.2949 + vserver 2.2.0
[linux-2.6.git]
/
include
/
linux
/
numa.h
diff --git
a/include/linux/numa.h
b/include/linux/numa.h
index
f0c539b
..
a31a730
100644
(file)
--- a/
include/linux/numa.h
+++ b/
include/linux/numa.h
@@
-1,13
+1,10
@@
#ifndef _LINUX_NUMA_H
#define _LINUX_NUMA_H
#ifndef _LINUX_NUMA_H
#define _LINUX_NUMA_H
-#include <linux/config.h>
-#ifndef CONFIG_FLATMEM
-#include <asm/numnodes.h>
-#endif
-
-#ifndef NODES_SHIFT
+#ifdef CONFIG_NODES_SHIFT
+#define NODES_SHIFT CONFIG_NODES_SHIFT
+#else
#define NODES_SHIFT 0
#endif
#define NODES_SHIFT 0
#endif