[Patch:005/011] Configureable NODES_SHIFT (for powerpc)

From: Yasunori Goto
Date: Wed Mar 29 2006 - 21:13:11 EST



This is for powerpc.

Signed-off-by: Yasunori Goto <y-goto@xxxxxxxxxxxxxx>

include/asm-powerpc/numnodes.h | 9 ---------
arch/powerpc/Kconfig | 5 +++++
2 files changed, 5 insertions(+), 9 deletions(-)

Index: pxm_ver4/arch/powerpc/Kconfig
===================================================================
--- pxm_ver4.orig/arch/powerpc/Kconfig 2006-03-29 20:14:38.355448607 +0900
+++ pxm_ver4/arch/powerpc/Kconfig 2006-03-29 20:33:19.268520813 +0900
@@ -649,6 +649,11 @@ config NUMA
depends on PPC64
default y if SMP && PPC_PSERIES

+config NODES_SHIFT
+ int
+ default "4"
+ depens on NEED_MULTIPLE_NODES
+
config ARCH_SELECT_MEMORY_MODEL
def_bool y
depends on PPC64
Index: pxm_ver4/include/asm-powerpc/numnodes.h
===================================================================
--- pxm_ver4.orig/include/asm-powerpc/numnodes.h 2006-03-29 20:14:38.355448607 +0900
+++ /dev/null 1970-01-01 00:00:00.000000000 +0000
@@ -1,9 +0,0 @@
-#ifndef _ASM_POWERPC_MAX_NUMNODES_H
-#define _ASM_POWERPC_MAX_NUMNODES_H
-#ifdef __KERNEL__
-
-/* Max 16 Nodes */
-#define NODES_SHIFT 4
-
-#endif /* __KERNEL__ */
-#endif /* _ASM_POWERPC_MAX_NUMNODES_H */

--
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/