|
Lines 48-53
Link Here
|
| 48 |
#endif /* CONFIG_KDB */ |
48 |
#endif /* CONFIG_KDB */ |
| 49 |
#include <linux/notifier.h> |
49 |
#include <linux/notifier.h> |
| 50 |
#include <linux/cpu.h> |
50 |
#include <linux/cpu.h> |
|
|
51 |
#include <linux/pci.h> |
| 51 |
#include <linux/percpu.h> |
52 |
#include <linux/percpu.h> |
| 52 |
|
53 |
|
| 53 |
#include <linux/delay.h> |
54 |
#include <linux/delay.h> |
|
Lines 1147-1155
static void __init smp_boot_cpus(unsigne
Link Here
|
| 1147 |
printk(KERN_NOTICE "SMP motherboard not detected.\n"); |
1148 |
printk(KERN_NOTICE "SMP motherboard not detected.\n"); |
| 1148 |
smpboot_clear_io_apic_irqs(); |
1149 |
smpboot_clear_io_apic_irqs(); |
| 1149 |
phys_cpu_present_map = physid_mask_of_physid(0); |
1150 |
phys_cpu_present_map = physid_mask_of_physid(0); |
| 1150 |
if (APIC_init_uniprocessor()) |
1151 |
if (APIC_init_uniprocessor()) { |
| 1151 |
printk(KERN_NOTICE "Local APIC not detected." |
1152 |
printk(KERN_NOTICE "Local APIC not detected." |
| 1152 |
" Using dummy APIC emulation.\n"); |
1153 |
" Using dummy APIC emulation.\n"); |
|
|
1154 |
msi_off(); |
| 1155 |
} |
| 1153 |
map_cpu_to_logical_apicid(); |
1156 |
map_cpu_to_logical_apicid(); |
| 1154 |
cpu_set(0, cpu_sibling_map[0]); |
1157 |
cpu_set(0, cpu_sibling_map[0]); |
| 1155 |
cpu_set(0, cpu_core_map[0]); |
1158 |
cpu_set(0, cpu_core_map[0]); |
|
Lines 1190-1195
static void __init smp_boot_cpus(unsigne
Link Here
|
| 1190 |
smp_found_config = 0; |
1193 |
smp_found_config = 0; |
| 1191 |
printk(KERN_INFO "SMP mode deactivated, forcing use of dummy APIC emulation.\n"); |
1194 |
printk(KERN_INFO "SMP mode deactivated, forcing use of dummy APIC emulation.\n"); |
| 1192 |
smpboot_clear_io_apic_irqs(); |
1195 |
smpboot_clear_io_apic_irqs(); |
|
|
1196 |
msi_off(); |
| 1193 |
phys_cpu_present_map = physid_mask_of_physid(0); |
1197 |
phys_cpu_present_map = physid_mask_of_physid(0); |
| 1194 |
cpu_set(0, cpu_sibling_map[0]); |
1198 |
cpu_set(0, cpu_sibling_map[0]); |
| 1195 |
cpu_set(0, cpu_core_map[0]); |
1199 |
cpu_set(0, cpu_core_map[0]); |