| .. | .. |
|---|
| 258 | 258 | x86_platform.nmi_init(); |
|---|
| 259 | 259 | |
|---|
| 260 | 260 | /* enable local interrupts */ |
|---|
| 261 | | - local_irq_enable(); |
|---|
| 261 | + local_irq_enable_full(); |
|---|
| 262 | 262 | |
|---|
| 263 | 263 | x86_cpuinit.setup_percpu_clockev(); |
|---|
| 264 | 264 | |
|---|
| .. | .. |
|---|
| 1133 | 1133 | { |
|---|
| 1134 | 1134 | int apicid = apic->cpu_present_to_apicid(cpu); |
|---|
| 1135 | 1135 | int cpu0_nmi_registered = 0; |
|---|
| 1136 | | - unsigned long flags; |
|---|
| 1137 | 1136 | int err, ret = 0; |
|---|
| 1138 | 1137 | |
|---|
| 1139 | 1138 | lockdep_assert_irqs_enabled(); |
|---|
| .. | .. |
|---|
| 1184 | 1183 | * Check TSC synchronization with the AP (keep irqs disabled |
|---|
| 1185 | 1184 | * while doing so): |
|---|
| 1186 | 1185 | */ |
|---|
| 1187 | | - local_irq_save(flags); |
|---|
| 1186 | + local_irq_disable_full(); |
|---|
| 1188 | 1187 | check_tsc_sync_source(cpu); |
|---|
| 1189 | | - local_irq_restore(flags); |
|---|
| 1188 | + local_irq_enable_full(); |
|---|
| 1190 | 1189 | |
|---|
| 1191 | 1190 | while (!cpu_online(cpu)) { |
|---|
| 1192 | 1191 | cpu_relax(); |
|---|
| .. | .. |
|---|
| 1654 | 1653 | /* |
|---|
| 1655 | 1654 | * With physical CPU hotplug, we should halt the cpu |
|---|
| 1656 | 1655 | */ |
|---|
| 1657 | | - local_irq_disable(); |
|---|
| 1656 | + local_irq_disable_full(); |
|---|
| 1658 | 1657 | } |
|---|
| 1659 | 1658 | |
|---|
| 1660 | 1659 | /** |
|---|