[Patch:007/011] Configureable NODES_SHIFT (for parisc)

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

 



This is for parisc.


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

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

Index: pxm_ver4/arch/parisc/Kconfig
===================================================================
--- pxm_ver4.orig/arch/parisc/Kconfig	2006-03-29 20:13:18.144512090 +0900
+++ pxm_ver4/arch/parisc/Kconfig	2006-03-29 20:34:27.982387159 +0900
@@ -177,6 +177,11 @@ config ARCH_DISCONTIGMEM_DEFAULT
 	def_bool y
 	depends on ARCH_DISCONTIGMEM_ENABLE
 
+config NODES_SHIFT
+	int
+	default "3"
+	depens on NEED_MULTIPLE_NODES
+
 source "kernel/Kconfig.hz"
 source "mm/Kconfig"
 
Index: pxm_ver4/include/asm-parisc/numnodes.h
===================================================================
--- pxm_ver4.orig/include/asm-parisc/numnodes.h	2006-03-29 20:13:18.144512090 +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 8 Nodes */
-#define NODES_SHIFT	3
-
-#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 [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