aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/kernel/smpboot.c
diff options
context:
space:
mode:
authorIngo Molnar <mingo@elte.hu>2009-01-27 11:13:05 -0500
committerIngo Molnar <mingo@elte.hu>2009-01-29 08:17:01 -0500
commitc0b5842a457d44c8788b3fd0c64969be7ef673cd (patch)
tree0e8567fee5ab4865b4dc5806d8b59a1dc174834b /arch/x86/kernel/smpboot.c
parent3e5095d15276efd14a45393666b1bb7536bf179f (diff)
x86: generalize boot_cpu_id
x86/Voyager can boot on non-zero processors. While that can probably be fixed by properly remapping the physical CPU IDs, keep boot_cpu_id for now for easier transition - and expand it to all of x86. Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/kernel/smpboot.c')
-rw-r--r--arch/x86/kernel/smpboot.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/arch/x86/kernel/smpboot.c b/arch/x86/kernel/smpboot.c
index e90b3e50b54f..bc7e220ba0b4 100644
--- a/arch/x86/kernel/smpboot.c
+++ b/arch/x86/kernel/smpboot.c
@@ -905,18 +905,6 @@ do_rest:
905 return boot_error; 905 return boot_error;
906} 906}
907 907
908#ifdef CONFIG_X86_64
909int default_cpu_present_to_apicid(int mps_cpu)
910{
911 return __default_cpu_present_to_apicid(mps_cpu);
912}
913
914int default_check_phys_apicid_present(int boot_cpu_physical_apicid)
915{
916 return __default_check_phys_apicid_present(boot_cpu_physical_apicid);
917}
918#endif
919
920int __cpuinit native_cpu_up(unsigned int cpu) 908int __cpuinit native_cpu_up(unsigned int cpu)
921{ 909{
922 int apicid = apic->cpu_present_to_apicid(cpu); 910 int apicid = apic->cpu_present_to_apicid(cpu);