[Patch:009/011] Configureable NODES_SHIFT (for m32r)

From: Yasunori Goto
Date: Wed Mar 29 2006 - 21:14:31 EST



This is to m32r.

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

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

Index: pxm_ver4/arch/m32r/Kconfig
===================================================================
--- pxm_ver4.orig/arch/m32r/Kconfig 2006-03-29 16:43:15.437635223 +0900
+++ pxm_ver4/arch/m32r/Kconfig 2006-03-29 20:07:58.554672254 +0900
@@ -285,6 +285,11 @@ config NUMA
depends on SMP && BROKEN
default n

+config NODES_SHIFT
+ int
+ default "1"
+ depends on NEED_MULTIPLE_NODES
+
# turning this on wastes a bunch of space.
# Summit needs it only when NUMA is on
config BOOT_IOREMAP
Index: pxm_ver4/include/asm-m32r/numnodes.h
===================================================================
--- pxm_ver4.orig/include/asm-m32r/numnodes.h 2006-03-29 16:43:15.437635223 +0900
+++ /dev/null 1970-01-01 00:00:00.000000000 +0000
@@ -1,15 +0,0 @@
-#ifndef _ASM_NUMNODES_H_
-#define _ASM_NUMNODES_H_
-
-#include <linux/config.h>
-
-#ifdef CONFIG_DISCONTIGMEM
-
-#if defined(CONFIG_CHIP_M32700)
-#define NODES_SHIFT 1 /* Max 2 Nodes */
-#endif /* CONFIG_CHIP_M32700 */
-
-#endif /* CONFIG_DISCONTIGMEM */
-
-#endif /* _ASM_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/