aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/kernel/mpparse.c
diff options
context:
space:
mode:
authorIngo Molnar <mingo@elte.hu>2009-01-28 00:50:47 -0500
committerIngo Molnar <mingo@elte.hu>2009-01-28 17:20:22 -0500
commit72ce016583916fb7ffcbaa6a3e1f8f731b79a865 (patch)
treecd05f735f6b47278ecacebca6394dccf649c9f7e /arch/x86/kernel/mpparse.c
parentd190cb87c4503014353f2310c4bfa2268fa7111d (diff)
x86, apic: clean up ->setup_apic_routing()
- separate the namespace - remove macros - remove namespace clash on 64-bit Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/kernel/mpparse.c')
-rw-r--r--arch/x86/kernel/mpparse.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/x86/kernel/mpparse.c b/arch/x86/kernel/mpparse.c
index fa6bb263892e..c8a534a16d98 100644
--- a/arch/x86/kernel/mpparse.c
+++ b/arch/x86/kernel/mpparse.c
@@ -390,9 +390,9 @@ static int __init smp_read_mpc(struct mpc_table *mpc, unsigned early)
390 generic_bigsmp_probe(); 390 generic_bigsmp_probe();
391#endif 391#endif
392 392
393#ifdef CONFIG_X86_32 393 if (apic->setup_apic_routing)
394 setup_apic_routing(); 394 apic->setup_apic_routing();
395#endif 395
396 if (!num_processors) 396 if (!num_processors)
397 printk(KERN_ERR "MPTABLE: no processors registered!\n"); 397 printk(KERN_ERR "MPTABLE: no processors registered!\n");
398 return num_processors; 398 return num_processors;