lkml.org 
[lkml]   [2006]   [Mar]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[Patch:010/011] Configureable NODES_SHIFT (for mips)

This is for mips.

Signed-off-by: Yasunori Goto <y-goto@jp.fujitsu.com>

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

Index: pxm_ver4/arch/mips/Kconfig
===================================================================
--- pxm_ver4.orig/arch/mips/Kconfig 2006-03-29 20:12:35.968731356 +0900
+++ pxm_ver4/arch/mips/Kconfig 2006-03-29 20:36:20.998987337 +0900
@@ -1587,6 +1587,11 @@ config ARCH_FLATMEM_ENABLE
def_bool y
depends on !NUMA

+config NODES_SHIFT
+ int
+ default "6"
+ depends on NEED_MULTIPLE_NODES
+
source "mm/Kconfig"

config SMP
Index: pxm_ver4/include/asm-mips/numnodes.h
===================================================================
--- pxm_ver4.orig/include/asm-mips/numnodes.h 2006-03-29 20:12:35.968731356 +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 */
-#define NODES_SHIFT 6
-
-#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@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2006-03-30 04:19    [W:0.946 / U:0.244 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site