x86, apic: Fix apic=debug boot crash
commitf76958c118d26f812cb87eafa3b694abffb7fc06
authorDaniel Kiper <dkiper@net-space.pl>
Thu, 19 Aug 2010 22:46:16 +0000 (20 00:46 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 26 Aug 2010 23:43:26 +0000 (26 16:43 -0700)
tree27acd75c38524b227ef383b5635c77be6c1c06af
parent858ba8a4118f7b1cef6cc70d85ffbf5fbaf9ec78
x86, apic: Fix apic=debug boot crash

commit 05e407603e527f9d808dd3866d3a17c2ce4dfcc5 upstream.

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
LKML-Reference: <20100819224616.GB9967@router-fw-old.local.net-space.pl>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
arch/x86/kernel/apic/io_apic.c