Line
Link Here
|
0 |
-- 3.1-rc2/arch/x86/kernel/apic/probe_32.c |
0 |
++ 3.1-rc2-i386-bigsmp-early-lapicid-override/arch/x86/kernel/apic/probe_32.c |
Lines 203-209
void __init default_setup_apic_routing(v
Link Here
|
203 |
if (!cmdline_apic && apic == &apic_default) { |
203 |
if (!cmdline_apic && apic == &apic_default) { |
204 |
struct apic *bigsmp = generic_bigsmp_probe(); |
204 |
struct apic *bigsmp = generic_bigsmp_probe(); |
205 |
if (bigsmp) { |
205 |
if (bigsmp) { |
|
|
206 |
unsigned int cpu; |
207 |
|
206 |
apic = bigsmp; |
208 |
apic = bigsmp; |
|
|
209 |
for_each_possible_cpu(cpu) { |
210 |
if (early_per_cpu(x86_cpu_to_logical_apicid, |
211 |
cpu) == BAD_APICID) |
212 |
continue; |
213 |
early_per_cpu(x86_cpu_to_logical_apicid, |
214 |
cpu) = |
215 |
bigsmp->x86_32_early_logical_apicid |
216 |
(cpu); |
217 |
} |
207 |
printk(KERN_INFO "Overriding APIC driver with %s\n", |
218 |
printk(KERN_INFO "Overriding APIC driver with %s\n", |
208 |
apic->name); |
219 |
apic->name); |
209 |
} |
220 |
} |