[Patch:001/011] Configureable NODES_SHIFT (Generic part)
From: Yasunori Goto
Date: Wed Mar 29 2006 - 21:12:00 EST
This is generic part.
include/asm-xxx/numnodes.h becomes not necessary.
Signed-off-by: Yasunori Goto <y-goto@xxxxxxxxxxxxxx>
include/linux/numa.h | 8 +++-----
1 files changed, 3 insertions(+), 5 deletions(-)
Index: pxm_ver4/include/linux/numa.h
===================================================================
--- pxm_ver4.orig/include/linux/numa.h 2005-10-28 12:03:06.000000000 +0900
+++ pxm_ver4/include/linux/numa.h 2006-03-29 19:03:55.705109954 +0900
@@ -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
--
Yasunori Goto
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/