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>
This commit is contained in:
@@ -905,18 +905,6 @@ do_rest:
|
||||
return boot_error;
|
||||
}
|
||||
|
||||
#ifdef CONFIG_X86_64
|
||||
int default_cpu_present_to_apicid(int mps_cpu)
|
||||
{
|
||||
return __default_cpu_present_to_apicid(mps_cpu);
|
||||
}
|
||||
|
||||
int default_check_phys_apicid_present(int boot_cpu_physical_apicid)
|
||||
{
|
||||
return __default_check_phys_apicid_present(boot_cpu_physical_apicid);
|
||||
}
|
||||
#endif
|
||||
|
||||
int __cpuinit native_cpu_up(unsigned int cpu)
|
||||
{
|
||||
int apicid = apic->cpu_present_to_apicid(cpu);
|
||||
|
Reference in New Issue
Block a user