diff options
author | Suresh Siddha <suresh.b.siddha@intel.com> | 2009-03-17 00:05:02 (GMT) |
---|---|---|
committer | H. Peter Anvin <hpa@linux.intel.com> | 2009-03-17 22:45:07 (GMT) |
commit | 29b61be65a33c95564fa82e7e8d60d97adb68ea8 (patch) | |
tree | 2a9898b3ff1c04805d2bb876061c00052c9647bc /arch/x86/kernel/apic/probe_64.c | |
parent | 0280f7c416c652a2fd95d166f52b199ae61122c0 (diff) | |
download | linux-fsl-qoriq-29b61be65a33c95564fa82e7e8d60d97adb68ea8.tar.xz |
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.c | 2 |
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 8297c2b..1783652 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) printk(KERN_INFO "Setting APIC routing to %s\n", apic->name); } -#ifdef CONFIG_X86_X2APIC /* * Now that apic routing model is selected, configure the * fault handling for intr remapping. */ if (intr_remapping_enabled) enable_drhd_fault_handling(); -#endif } /* Same for both flat and physical. */ |