diff options
author | Ingo Molnar <mingo@elte.hu> | 2009-01-28 00:50:47 -0500 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-01-28 17:20:24 -0500 |
commit | a21769a4461801454930a06bc18bd8249cd9e993 (patch) | |
tree | 8b879f9a6d1c957d17a155ff865a0f7c8a18e257 /arch/x86/kernel/smpboot.c | |
parent | 5257c5111ca21c8e857b65a79ab986b313e1c362 (diff) |
x86, apic: clean up ->cpu_present_to_apicid()
- separate the namespace
- remove macros
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/kernel/smpboot.c')
-rw-r--r-- | arch/x86/kernel/smpboot.c | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/arch/x86/kernel/smpboot.c b/arch/x86/kernel/smpboot.c index 1dd4cecd4bc0..812bf39de355 100644 --- a/arch/x86/kernel/smpboot.c +++ b/arch/x86/kernel/smpboot.c | |||
@@ -903,9 +903,16 @@ do_rest: | |||
903 | return boot_error; | 903 | return boot_error; |
904 | } | 904 | } |
905 | 905 | ||
906 | #ifdef CONFIG_X86_64 | ||
907 | int default_cpu_present_to_apicid(int mps_cpu) | ||
908 | { | ||
909 | return __default_cpu_present_to_apicid(mps_cpu); | ||
910 | } | ||
911 | #endif | ||
912 | |||
906 | int __cpuinit native_cpu_up(unsigned int cpu) | 913 | int __cpuinit native_cpu_up(unsigned int cpu) |
907 | { | 914 | { |
908 | int apicid = cpu_present_to_apicid(cpu); | 915 | int apicid = apic->cpu_present_to_apicid(cpu); |
909 | unsigned long flags; | 916 | unsigned long flags; |
910 | int err; | 917 | int err; |
911 | 918 | ||