x86/ioapic: Check x2apic really
authorThomas Gleixner <[email protected]>
Thu, 15 Jan 2015 21:22:14 +0000 (21:22 +0000)
committerThomas Gleixner <[email protected]>
Thu, 22 Jan 2015 14:10:54 +0000 (15:10 +0100)
commit2ca5b40479246087695d9e6343075b47ee6887ea
tree1d6d6cc40b1828bc5d6b6bb48ed2753c289f6f42
parentbfb050702990d6a2033d072cb2af583aee5c6fc5
x86/ioapic: Check x2apic really

The x2apic_preenabled flag is just a horrible hack and if X2APIC
support is disabled it does not reflect the actual hardware
state. Check the hardware instead.

Signed-off-by: Thomas Gleixner <[email protected]>
Cc: Jiang Liu <[email protected]>
Cc: Joerg Roedel <[email protected]>
Cc: Tony Luck <[email protected]>
Cc: Borislav Petkov <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Thomas Gleixner <[email protected]>
arch/x86/include/asm/apic.h
arch/x86/kernel/apic/apic.c
arch/x86/kernel/apic/io_apic.c