diff options
author | Dave Hansen <haveblue@us.ibm.com> | 2006-04-07 19:49:54 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-04-09 11:53:51 -0700 |
commit | be56db6186999a8571ae480cf2b929578f6dfd68 (patch) | |
tree | df0760d15a76b9615c02f37ad5941fd5b52c5658 | |
parent | 4211a30349e8d2b724cfb4ce2584604f5e59c299 (diff) | |
download | linux-3.10-be56db6186999a8571ae480cf2b929578f6dfd68.tar.gz linux-3.10-be56db6186999a8571ae480cf2b929578f6dfd68.tar.bz2 linux-3.10-be56db6186999a8571ae480cf2b929578f6dfd68.zip |
[PATCH] x86_64: extra NODES_SHIFT definition
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>
Signed-off-by: Andi Kleen <ak@suse.de>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-rw-r--r-- | include/asm-x86_64/numnodes.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/include/asm-x86_64/numnodes.h b/include/asm-x86_64/numnodes.h index 32be16b8ae9..5a1d506b829 100644 --- a/include/asm-x86_64/numnodes.h +++ b/include/asm-x86_64/numnodes.h @@ -5,8 +5,6 @@ #ifdef CONFIG_NUMA #define NODES_SHIFT 6 -#else -#define NODES_SHIFT 0 #endif #endif |