[NETFILTER]: xt_sctp: fix mistake to pass a pointer where array is required
[sfrench/cifs-2.6.git] / include / linux / numa.h
index f0c539bd3cfc44e07eaafc26bcf358c29c0fc65f..a31a7301b159e8b1b8036a14cf734dd55ec0d0e2 100644 (file)
@@ -1,13 +1,10 @@
 #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