x86: x2apic, IR: Clean up panic() with nox2apic boot option
commit39d83a5d684a457046aa2a6dac60f105966e78e9
authorSuresh Siddha <suresh.b.siddha@intel.com>
Mon, 20 Apr 2009 20:02:29 +0000 (20 13:02 -0700)
committerIngo Molnar <mingo@elte.hu>
Tue, 21 Apr 2009 07:08:26 +0000 (21 09:08 +0200)
tree839ea52f0e8b56f80ab790b0d6cee0d8988659bc
parent25629d810a52176758401184d9b437fbb7f79195
x86: x2apic, IR: Clean up panic() with nox2apic boot option

Instead of panic() ignore the "nox2apic" boot option when BIOS
has already enabled x2apic prior to OS handover.

[ Impact: printk warning instead of panic() when BIOS has enabled x2apic already ]

Signed-off-by: Suresh Siddha <suresh.b.siddha@intel.com>
Cc: dwmw2@infradead.org
Cc: Weidong Han <weidong.han@intel.com>
LKML-Reference: <20090420200450.425091000@linux-os.sc.intel.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/apic/apic.c