diff options
Diffstat (limited to 'arch/x86/kernel/apic/probe_32.c')
-rw-r--r-- | arch/x86/kernel/apic/probe_32.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/arch/x86/kernel/apic/probe_32.c b/arch/x86/kernel/apic/probe_32.c index 40be7c3cdfeb..0f9a9ab49e79 100644 --- a/arch/x86/kernel/apic/probe_32.c +++ b/arch/x86/kernel/apic/probe_32.c | |||
@@ -77,6 +77,11 @@ void __init default_setup_apic_routing(void) | |||
77 | apic->setup_apic_routing(); | 77 | apic->setup_apic_routing(); |
78 | } | 78 | } |
79 | 79 | ||
80 | static int default_x86_32_early_logical_apicid(int cpu) | ||
81 | { | ||
82 | return 1 << cpu; | ||
83 | } | ||
84 | |||
80 | static void setup_apic_flat_routing(void) | 85 | static void setup_apic_flat_routing(void) |
81 | { | 86 | { |
82 | #ifdef CONFIG_X86_IO_APIC | 87 | #ifdef CONFIG_X86_IO_APIC |
@@ -167,7 +172,7 @@ struct apic apic_default = { | |||
167 | .wait_icr_idle = native_apic_wait_icr_idle, | 172 | .wait_icr_idle = native_apic_wait_icr_idle, |
168 | .safe_wait_icr_idle = native_safe_apic_wait_icr_idle, | 173 | .safe_wait_icr_idle = native_safe_apic_wait_icr_idle, |
169 | 174 | ||
170 | .x86_32_early_logical_apicid = noop_x86_32_early_logical_apicid, | 175 | .x86_32_early_logical_apicid = default_x86_32_early_logical_apicid, |
171 | }; | 176 | }; |
172 | 177 | ||
173 | extern struct apic apic_numaq; | 178 | extern struct apic apic_numaq; |