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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This is to m32r.

Signed-off-by: Yasunori Goto <[email protected]>

 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 [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux