]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/linux/numa.h
Merge master.kernel.org:/home/rmk/linux-2.6-mmc
[linux-2.6-omap-h63xx.git] / include / linux / numa.h
index bd0c8c4e9a95fb5d351e4712969293229724e347..e481feb1bfd81e061e3c2488ece336f936fdc9d6 100644 (file)
@@ -3,11 +3,9 @@
 
 #include <linux/config.h>
 
-#ifdef CONFIG_DISCONTIGMEM
-#include <asm/numnodes.h>
-#endif
-
-#ifndef NODES_SHIFT
+#ifdef CONFIG_NODES_SHIFT
+#define NODES_SHIFT     CONFIG_NODES_SHIFT
+#else
 #define NODES_SHIFT     0
 #endif