aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSteffen Persvold <sp@numascale.com>2011-12-05 19:10:31 -0500
committerIngo Molnar <mingo@elte.hu>2011-12-06 01:03:37 -0500
commite4a02b4a951a7adf9d982b11c64686570c29fbe7 (patch)
treec4b4baf74cd80bd8caa230fc25bf79c10ed728c6
parent44b111b519160e33fdc41eadb39af86a24707edf (diff)
x86: Fix the !CONFIG_NUMA build of the new CPU ID fixup code support
I used "ifdef CONFIG_NUMA" simply because it doesn't make sense in a non-numa configuration even with SMP enabled. Besides, the only place where it is called right now is in kernel/cpu/amd.c:srat_detect_node() within the "CONFIG_NUMA" protected part. Signed-off-by: Steffen Persvold <sp@numascale.com> Cc: Daniel J Blueman <daniel@numascale-asia.com> Cc: Jesse Barnes <jbarnes@virtuousgeek.org> Link: http://lkml.kernel.org/r/1323073238-32686-2-git-send-email-daniel@numascale-asia.com Signed-off-by: Ingo Molnar <mingo@elte.hu>
-rw-r--r--arch/x86/kernel/cpu/common.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/x86/kernel/cpu/common.c b/arch/x86/kernel/cpu/common.c
index ad4da45effb9..a70bd5b96b9e 100644
--- a/arch/x86/kernel/cpu/common.c
+++ b/arch/x86/kernel/cpu/common.c
@@ -1146,7 +1146,9 @@ static void dbg_restore_debug_regs(void)
1146 */ 1146 */
1147void __cpuinit x86_default_fixup_cpu_id(struct cpuinfo_x86 *c, int node) 1147void __cpuinit x86_default_fixup_cpu_id(struct cpuinfo_x86 *c, int node)
1148{ 1148{
1149#ifdef CONFIG_NUMA
1149 pr_err("NUMA core number %d differs from configured core number %d\n", node, c->phys_proc_id); 1150 pr_err("NUMA core number %d differs from configured core number %d\n", node, c->phys_proc_id);
1151#endif
1150} 1152}
1151 1153
1152/* 1154/*