[Patch:001/011] Configureable NODES_SHIFT (Generic part)

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

 



This is generic part.
include/asm-xxx/numnodes.h becomes not necessary.

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

 include/linux/numa.h |    8 +++-----
 1 files changed, 3 insertions(+), 5 deletions(-)

Index: pxm_ver4/include/linux/numa.h
===================================================================
--- pxm_ver4.orig/include/linux/numa.h	2005-10-28 12:03:06.000000000 +0900
+++ pxm_ver4/include/linux/numa.h	2006-03-29 19:03:55.705109954 +0900
@@ -3,11 +3,9 @@
 
 #include <linux/config.h>
 
-#ifndef CONFIG_FLATMEM
-#include <asm/numnodes.h>
-#endif
-
-#ifndef NODES_SHIFT
+#ifdef CONFIG_NODES_SHIFT
+#define NODES_SHIFT     CONFIG_NODES_SHIFT
+#else
 #define NODES_SHIFT     0
 #endif
 

-- 
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