|
@@ -77,6 +77,11 @@ void __init default_setup_apic_routing(void)
|
|
|
apic->setup_apic_routing();
|
|
|
}
|
|
|
|
|
|
+static int default_x86_32_early_logical_apicid(int cpu)
|
|
|
+{
|
|
|
+ return 1 << cpu;
|
|
|
+}
|
|
|
+
|
|
|
static void setup_apic_flat_routing(void)
|
|
|
{
|
|
|
#ifdef CONFIG_X86_IO_APIC
|
|
@@ -167,7 +172,7 @@ struct apic apic_default = {
|
|
|
.wait_icr_idle = native_apic_wait_icr_idle,
|
|
|
.safe_wait_icr_idle = native_safe_apic_wait_icr_idle,
|
|
|
|
|
|
- .x86_32_early_logical_apicid = noop_x86_32_early_logical_apicid,
|
|
|
+ .x86_32_early_logical_apicid = default_x86_32_early_logical_apicid,
|
|
|
};
|
|
|
|
|
|
extern struct apic apic_numaq;
|