x86, apic: clean up ->cpu_present_to_apicid()

- separate the namespace

 - remove macros

Signed-off-by: Ingo Molnar <mingo@elte.hu>
This commit is contained in:
Ingo Molnar
2009-01-28 06:50:47 +01:00
parent 5257c5111c
commit a21769a446
17 changed files with 34 additions and 17 deletions

View File

@@ -903,9 +903,16 @@ 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);
}
#endif
int __cpuinit native_cpu_up(unsigned int cpu)
{
int apicid = cpu_present_to_apicid(cpu);
int apicid = apic->cpu_present_to_apicid(cpu);
unsigned long flags;
int err;