OSDN Git Service

x86/apic: Sanitize ioapic handling
authorThomas Gleixner <tglx@linutronix.de>
Thu, 15 Jan 2015 21:22:34 +0000 (21:22 +0000)
committerThomas Gleixner <tglx@linutronix.de>
Thu, 22 Jan 2015 14:10:55 +0000 (15:10 +0100)
commit35e4c6d30e6f69745d77afd5f63203ad440bed12
tree7ce6b3142e27fbec5599e58b9202d29e0a7247ff
parenta46f5c89274245e42834dc976896444efd53ccdc
x86/apic: Sanitize ioapic handling

We have proper stubs for the IOAPIC=n case and the setup/enable
function have the required checks inside now. Remove the ifdeffery and
the copy&pasted conditionals.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>C
Acked-by: Borislav Petkov <bp@alien8.de>
Cc: Jiang Liu <jiang.liu@linux.intel.com>
Cc: Joerg Roedel <joro@8bytes.org>
Cc: Tony Luck <tony.luck@intel.com>
Link: http://lkml.kernel.org/r/20150115211703.569830549@linutronix.de
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
arch/x86/kernel/apic/apic.c