Commit 6c2cc2fd authored by Andi Kleen's avatar Andi Kleen Committed by Linus Torvalds

[PATCH] x86_64: Fix a warning in the CMP support code for !CONFIG_NUMA

Fix a warning in the CMP support code for !CONFIG_NUMA
Signed-off-by: default avatarAndi Kleen <ak@suse.de>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 74c8f65c
...@@ -683,7 +683,9 @@ static int __init init_amd(struct cpuinfo_x86 *c) ...@@ -683,7 +683,9 @@ static int __init init_amd(struct cpuinfo_x86 *c)
{ {
int r; int r;
int level; int level;
#ifdef CONFIG_NUMA
int cpu; int cpu;
#endif
/* Bit 31 in normal CPUID used for nonstandard 3DNow ID; /* Bit 31 in normal CPUID used for nonstandard 3DNow ID;
3DNow is IDd by bit 31 in extended CPUID (1*32+31) anyway */ 3DNow is IDd by bit 31 in extended CPUID (1*32+31) anyway */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment