aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/kernel/apic/probe_64.c
diff options
context:
space:
mode:
authorSuresh Siddha <suresh.b.siddha@intel.com>2009-03-16 20:05:02 -0400
committerH. Peter Anvin <hpa@linux.intel.com>2009-03-17 18:45:07 -0400
commit29b61be65a33c95564fa82e7e8d60d97adb68ea8 (patch)
tree2a9898b3ff1c04805d2bb876061c00052c9647bc /arch/x86/kernel/apic/probe_64.c
parent0280f7c416c652a2fd95d166f52b199ae61122c0 (diff)
x86, x2apic: cleanup ifdef CONFIG_INTR_REMAP in io_apic code
Impact: cleanup Clean up #ifdefs and replace them with helper functions. Signed-off-by: Suresh Siddha <suresh.b.siddha@intel.com> Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
Diffstat (limited to 'arch/x86/kernel/apic/probe_64.c')
-rw-r--r--arch/x86/kernel/apic/probe_64.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/x86/kernel/apic/probe_64.c b/arch/x86/kernel/apic/probe_64.c
index 8297c2b8ed20..1783652bb0e5 100644
--- a/arch/x86/kernel/apic/probe_64.c
+++ b/arch/x86/kernel/apic/probe_64.c
@@ -69,14 +69,12 @@ void __init default_setup_apic_routing(void)
69 printk(KERN_INFO "Setting APIC routing to %s\n", apic->name); 69 printk(KERN_INFO "Setting APIC routing to %s\n", apic->name);
70 } 70 }
71 71
72#ifdef CONFIG_X86_X2APIC
73 /* 72 /*
74 * Now that apic routing model is selected, configure the 73 * Now that apic routing model is selected, configure the
75 * fault handling for intr remapping. 74 * fault handling for intr remapping.
76 */ 75 */
77 if (intr_remapping_enabled) 76 if (intr_remapping_enabled)
78 enable_drhd_fault_handling(); 77 enable_drhd_fault_handling();
79#endif
80} 78}
81 79
82/* Same for both flat and physical. */ 80/* Same for both flat and physical. */