Skip to content

Commit

Permalink
[PATCH] x86_64: extra NODES_SHIFT definition
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Dave Hansen authored and Linus Torvalds committed Apr 9, 2006
1 parent 4211a30 commit be56db6
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions include/asm-x86_64/numnodes.h
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@

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

#endif

0 comments on commit be56db6

Please sign in to comment.