diff options
| -rw-r--r-- | arch/x86/kernel/apic/apic.c | 8 | ||||
| -rw-r--r-- | arch/x86/kernel/apic/probe_64.c | 7 |
2 files changed, 8 insertions, 7 deletions
diff --git a/arch/x86/kernel/apic/apic.c b/arch/x86/kernel/apic/apic.c index 3f838d537392..78218135b48e 100644 --- a/arch/x86/kernel/apic/apic.c +++ b/arch/x86/kernel/apic/apic.c | |||
| @@ -1389,6 +1389,14 @@ void __cpuinit end_local_APIC_setup(void) | |||
| 1389 | 1389 | ||
| 1390 | setup_apic_nmi_watchdog(NULL); | 1390 | setup_apic_nmi_watchdog(NULL); |
| 1391 | apic_pm_activate(); | 1391 | apic_pm_activate(); |
| 1392 | |||
| 1393 | /* | ||
| 1394 | * Now that local APIC setup is completed for BP, configure the fault | ||
| 1395 | * handling for interrupt remapping. | ||
| 1396 | */ | ||
| 1397 | if (!smp_processor_id() && intr_remapping_enabled) | ||
| 1398 | enable_drhd_fault_handling(); | ||
| 1399 | |||
| 1392 | } | 1400 | } |
| 1393 | 1401 | ||
| 1394 | #ifdef CONFIG_X86_X2APIC | 1402 | #ifdef CONFIG_X86_X2APIC |
diff --git a/arch/x86/kernel/apic/probe_64.c b/arch/x86/kernel/apic/probe_64.c index f9e4e6a54073..d8c4a6feb286 100644 --- a/arch/x86/kernel/apic/probe_64.c +++ b/arch/x86/kernel/apic/probe_64.c | |||
| @@ -79,13 +79,6 @@ void __init default_setup_apic_routing(void) | |||
| 79 | /* need to update phys_pkg_id */ | 79 | /* need to update phys_pkg_id */ |
| 80 | apic->phys_pkg_id = apicid_phys_pkg_id; | 80 | apic->phys_pkg_id = apicid_phys_pkg_id; |
| 81 | } | 81 | } |
| 82 | |||
| 83 | /* | ||
| 84 | * Now that apic routing model is selected, configure the | ||
| 85 | * fault handling for intr remapping. | ||
| 86 | */ | ||
| 87 | if (intr_remapping_enabled) | ||
| 88 | enable_drhd_fault_handling(); | ||
| 89 | } | 82 | } |
| 90 | 83 | ||
| 91 | /* Same for both flat and physical. */ | 84 | /* Same for both flat and physical. */ |
