]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - arch/x86/kernel/apic/io_apic.c
x86: x2apic, IR: Clean up X86_X2APIC and INTR_REMAP config checks
[net-next-2.6.git] / arch / x86 / kernel / apic / io_apic.c
index ea22a86e3cda286e25df9a3fbc069b58cf830edc..3a45d2ec97402cdba3585e9ec2e5f108781a3a76 100644 (file)
@@ -736,7 +736,6 @@ static int __init ioapic_pirq_setup(char *str)
 __setup("pirq=", ioapic_pirq_setup);
 #endif /* CONFIG_X86_32 */
 
-#ifdef CONFIG_INTR_REMAP
 struct IO_APIC_route_entry **alloc_ioapic_entries(void)
 {
        int apic;
@@ -857,7 +856,6 @@ void free_ioapic_entries(struct IO_APIC_route_entry **ioapic_entries)
 
        kfree(ioapic_entries);
 }
-#endif
 
 /*
  * Find the IRQ entry number of a certain pin.