]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/linux/numa.h
[PATCH] libata-hp-prep: make some ata_device fields persistent
[linux-2.6-omap-h63xx.git] / include / linux / numa.h
index f0c539bd3cfc44e07eaafc26bcf358c29c0fc65f..e481feb1bfd81e061e3c2488ece336f936fdc9d6 100644 (file)
@@ -3,11 +3,9 @@
 
 #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