x86, apic: Fix apic=debug boot crash
authorDaniel Kiper <dkiper@net-space.pl>
Thu, 19 Aug 2010 22:46:16 +0000 (00:46 +0200)
committerIngo Molnar <mingo@elte.hu>
Fri, 20 Aug 2010 08:18:28 +0000 (10:18 +0200)
commit05e407603e527f9d808dd3866d3a17c2ce4dfcc5
treee6b6b956d70b1a9624b11b8d597559ca4b2a8cdf
parentd7c53c9e822a4fefa13a0cae76f3190bfd0d5c11
x86, apic: Fix apic=debug boot crash

Fix a boot crash when apic=debug is used and the APIC is
not properly initialized.

This issue appears during Xen Dom0 kernel boot but the
fix is generic and the crash could occur on real hardware
as well.

Signed-off-by: Daniel Kiper <dkiper@net-space.pl>
Cc: xen-devel@lists.xensource.com
Cc: konrad.wilk@oracle.com
Cc: jeremy@goop.org
Cc: <stable@kernel.org> # .35.x, .34.x, .33.x, .32.x
LKML-Reference: <20100819224616.GB9967@router-fw-old.local.net-space.pl>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/apic/io_apic.c