[Patch:006/011] Configureable NODES_SHIFT (for alpha)

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



This is for alpha.

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

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

Index: pxm_ver4/arch/alpha/Kconfig
===================================================================
--- pxm_ver4.orig/arch/alpha/Kconfig 2006-03-29 16:43:16.406385211 +0900
+++ pxm_ver4/arch/alpha/Kconfig 2006-03-29 20:02:16.541004569 +0900
@@ -549,6 +549,11 @@ config NUMA
Access). This option is for configuring high-end multiprocessor
server machines. If in doubt, say N.

+config NODES_SHIFT
+ int
+ default "7"
+ depends on NEED_MULTIPLE_NODES
+
# LARGE_VMALLOC is racy, if you *really* need it then fix it first
config ALPHA_LARGE_VMALLOC
bool
Index: pxm_ver4/include/asm-alpha/numnodes.h
===================================================================
--- pxm_ver4.orig/include/asm-alpha/numnodes.h 2006-03-29 16:43:16.406385211 +0900
+++ /dev/null 1970-01-01 00:00:00.000000000 +0000
@@ -1,7 +0,0 @@
-#ifndef _ASM_MAX_NUMNODES_H
-#define _ASM_MAX_NUMNODES_H
-
-/* Max 128 Nodes - Marvel */
-#define NODES_SHIFT 7
-
-#endif /* _ASM_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/