lkml.org 
[lkml]   [2006]   [Mar]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Subject[PATCH] x86_64: extra NODES_SHIFT definition
From
Date

The generic linux/numa.h file defines NODES_SHIFT to 0 in case
the architecture did not.

Every architecture which has a NUMA config option defines
NODES_SHIFT in its asm-$ARCH headers, but only if NUMA is
enabled, except for x86_64.

This should make it like all the rest.

Signed-off-by: Dave Hansen <haveblue@us.ibm.com>
---

work2-dave/include/asm-x86_64/numnodes.h | 2 --
1 files changed, 2 deletions(-)

diff -puN include/asm-x86_64/numnodes.h~x86_64-extra-NODES_SHIFT include/asm-x86_64/numnodes.h
--- work2/include/asm-x86_64/numnodes.h~x86_64-extra-NODES_SHIFT 2006-03-23 09:00:31.000000000 -0800
+++ work2-dave/include/asm-x86_64/numnodes.h 2006-03-23 09:00:31.000000000 -0800
@@ -5,8 +5,6 @@

#ifdef CONFIG_NUMA
#define NODES_SHIFT 6
-#else
-#define NODES_SHIFT 0
#endif

#endif
_
-
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-27 19:14    [W:0.031 / U:0.292 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site