|
Lines 46-51
Link Here
|
| 46 |
#include <linux/bootmem.h> |
46 |
#include <linux/bootmem.h> |
| 47 |
#include <linux/notifier.h> |
47 |
#include <linux/notifier.h> |
| 48 |
#include <linux/cpu.h> |
48 |
#include <linux/cpu.h> |
|
|
49 |
#include <linux/pci.h> |
| 49 |
#include <linux/percpu.h> |
50 |
#include <linux/percpu.h> |
| 50 |
|
51 |
|
| 51 |
#include <linux/delay.h> |
52 |
#include <linux/delay.h> |
|
Lines 1107-1115
static void __init smp_boot_cpus(unsigne
Link Here
|
| 1107 |
printk(KERN_NOTICE "SMP motherboard not detected.\n"); |
1108 |
printk(KERN_NOTICE "SMP motherboard not detected.\n"); |
| 1108 |
smpboot_clear_io_apic_irqs(); |
1109 |
smpboot_clear_io_apic_irqs(); |
| 1109 |
phys_cpu_present_map = physid_mask_of_physid(0); |
1110 |
phys_cpu_present_map = physid_mask_of_physid(0); |
| 1110 |
if (APIC_init_uniprocessor()) |
1111 |
if (APIC_init_uniprocessor()) { |
| 1111 |
printk(KERN_NOTICE "Local APIC not detected." |
1112 |
printk(KERN_NOTICE "Local APIC not detected." |
| 1112 |
" Using dummy APIC emulation.\n"); |
1113 |
" Using dummy APIC emulation.\n"); |
|
|
1114 |
msi_off(); |
| 1115 |
} |
| 1113 |
map_cpu_to_logical_apicid(); |
1116 |
map_cpu_to_logical_apicid(); |
| 1114 |
cpu_set(0, cpu_sibling_map[0]); |
1117 |
cpu_set(0, cpu_sibling_map[0]); |
| 1115 |
cpu_set(0, cpu_core_map[0]); |
1118 |
cpu_set(0, cpu_core_map[0]); |
|
Lines 1150-1155
static void __init smp_boot_cpus(unsigne
Link Here
|
| 1150 |
smp_found_config = 0; |
1153 |
smp_found_config = 0; |
| 1151 |
printk(KERN_INFO "SMP mode deactivated, forcing use of dummy APIC emulation.\n"); |
1154 |
printk(KERN_INFO "SMP mode deactivated, forcing use of dummy APIC emulation.\n"); |
| 1152 |
smpboot_clear_io_apic_irqs(); |
1155 |
smpboot_clear_io_apic_irqs(); |
|
|
1156 |
msi_off(); |
| 1153 |
phys_cpu_present_map = physid_mask_of_physid(0); |
1157 |
phys_cpu_present_map = physid_mask_of_physid(0); |
| 1154 |
cpu_set(0, cpu_sibling_map[0]); |
1158 |
cpu_set(0, cpu_sibling_map[0]); |
| 1155 |
cpu_set(0, cpu_core_map[0]); |
1159 |
cpu_set(0, cpu_core_map[0]); |