[Patch:011/011] Configureable NODES_SHIFT (for sh)

From: Yasunori Goto
Date: Wed Mar 29 2006 - 21:16:33 EST


This is for sh.

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

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

Index: pxm_ver4/arch/sh/Kconfig
===================================================================
--- pxm_ver4.orig/arch/sh/Kconfig 2006-03-29 20:12:33.810528258 +0900
+++ pxm_ver4/arch/sh/Kconfig 2006-03-29 20:38:51.580040180 +0900
@@ -527,6 +527,11 @@ config CPU_HAS_SR_RB
See <file:Documentation/sh/register-banks.txt> for further
information on SR.RB and register banking in the kernel in general.

+config NODES_SHIFT
+ int
+ default "1"
+ depends on NEED_MULTIPLE_NODES
+
endmenu

menu "Boot options"
Index: pxm_ver4/include/asm-sh/numnodes.h
===================================================================
--- pxm_ver4.orig/include/asm-sh/numnodes.h 2006-03-29 20:12:33.810528258 +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 2 Nodes */
-#define NODES_SHIFT 1
-
-#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/