diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2015-04-24 13:57:48 +0200 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2015-04-24 15:36:54 +0200 |
commit | ca1b88622e9c16df7b1e0a57e9c6c2300321bed4 (patch) | |
tree | 6807aad02f5210e30c1b8250ef4e02b0efd42212 /arch/x86/kernel/setup.c | |
parent | 9a93d4736ec5ec322ec8f240a292c1a86cd0876d (diff) | |
download | op-kernel-dev-ca1b88622e9c16df7b1e0a57e9c6c2300321bed4.zip op-kernel-dev-ca1b88622e9c16df7b1e0a57e9c6c2300321bed4.tar.gz |
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/setup.c')
-rw-r--r-- | arch/x86/kernel/setup.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/x86/kernel/setup.c b/arch/x86/kernel/setup.c index d74ac33..8d04a75 100644 --- a/arch/x86/kernel/setup.c +++ b/arch/x86/kernel/setup.c @@ -1222,8 +1222,7 @@ void __init setup_arch(char **cmdline_p) init_cpu_to_node(); init_apic_mappings(); - if (x86_io_apic_ops.init) - x86_io_apic_ops.init(); + io_apic_init_mappings(); kvm_guest_init(); |