x86/apic: Check x2apic early
authorThomas Gleixner <[email protected]>
Thu, 15 Jan 2015 21:22:17 +0000 (21:22 +0000)
committerThomas Gleixner <[email protected]>
Thu, 22 Jan 2015 14:10:54 +0000 (15:10 +0100)
commitd524165cb8dbb2ce5916cd7682236b9324ae2644
treea8ea3e36ab009ddfed5ea834ca15c67c21e169ed
parent9aa16365275a272283acbda665634ca3dc8b46fe
x86/apic: Check x2apic early

No point in delaying the x2apic detection for the CONFIG_X86_X2APIC=n
case to enable_IR_x2apic(). We rather detect that before we try to
setup anything there.

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