aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/kernel/apic/io_apic.c
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2015-04-24 07:57:48 -0400
committerThomas Gleixner <tglx@linutronix.de>2015-04-24 09:36:54 -0400
commitca1b88622e9c16df7b1e0a57e9c6c2300321bed4 (patch)
tree6807aad02f5210e30c1b8250ef4e02b0efd42212 /arch/x86/kernel/apic/io_apic.c
parent9a93d4736ec5ec322ec8f240a292c1a86cd0876d (diff)
x86: Remove more unmodified io_apic_ops
io_apic_ops.init() is either NULL, if IO-APIC support is disabled at compile time or native_io_apic_init_mappings(). No point to have that as we can achieve the same thing with an empty inline. Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'arch/x86/kernel/apic/io_apic.c')
-rw-r--r--arch/x86/kernel/apic/io_apic.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kernel/apic/io_apic.c b/arch/x86/kernel/apic/io_apic.c
index d687a10ed3a2..3029502b0a50 100644
--- a/arch/x86/kernel/apic/io_apic.c
+++ b/arch/x86/kernel/apic/io_apic.c
@@ -2687,7 +2687,7 @@ static struct resource * __init ioapic_setup_resources(void)
2687 return res; 2687 return res;
2688} 2688}
2689 2689
2690void __init native_io_apic_init_mappings(void) 2690void __init io_apic_init_mappings(void)
2691{ 2691{
2692 unsigned long ioapic_phys, idx = FIX_IO_APIC_BASE_0; 2692 unsigned long ioapic_phys, idx = FIX_IO_APIC_BASE_0;
2693 struct resource *ioapic_res; 2693 struct resource *ioapic_res;