Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 223438
b: refs/heads/master
c: 7f7fbf4
h: refs/heads/master
v: v3
  • Loading branch information
Kenji Kaneshige authored and H. Peter Anvin committed Dec 14, 2010
1 parent 81840ee commit fbc5982
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 8 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 086e8ced65d9bcc4a8e8f1cd39b09640f2883f90
refs/heads/master: 7f7fbf45c6b748074546f7f16b9488ca71de99c1
8 changes: 8 additions & 0 deletions trunk/arch/x86/kernel/apic/apic.c
Original file line number Diff line number Diff line change
Expand Up @@ -1389,6 +1389,14 @@ void __cpuinit end_local_APIC_setup(void)

setup_apic_nmi_watchdog(NULL);
apic_pm_activate();

/*
* Now that local APIC setup is completed for BP, configure the fault
* handling for interrupt remapping.
*/
if (!smp_processor_id() && intr_remapping_enabled)
enable_drhd_fault_handling();

}

#ifdef CONFIG_X86_X2APIC
Expand Down
7 changes: 0 additions & 7 deletions trunk/arch/x86/kernel/apic/probe_64.c
Original file line number Diff line number Diff line change
Expand Up @@ -79,13 +79,6 @@ void __init default_setup_apic_routing(void)
/* need to update phys_pkg_id */
apic->phys_pkg_id = apicid_phys_pkg_id;
}

/*
* Now that apic routing model is selected, configure the
* fault handling for intr remapping.
*/
if (intr_remapping_enabled)
enable_drhd_fault_handling();
}

/* Same for both flat and physical. */
Expand Down

0 comments on commit fbc5982

Please sign in to comment.