]> err.no Git - linux-2.6/commit
x86: don't disable the APIC if it hasn't been mapped yet
authorAndi Kleen <ak@suse.de>
Wed, 30 Jan 2008 12:33:17 +0000 (13:33 +0100)
committerIngo Molnar <mingo@elte.hu>
Wed, 30 Jan 2008 12:33:17 +0000 (13:33 +0100)
commitd3432896dae72ee97deb850ad7bbc30329d32c0d
tree73cc99efc6ca0ef5f8caabd6eed1e2a50196ca5e
parentca74a6f84e68b44867022f4a4f3ec17c087c864e
x86: don't disable the APIC if it hasn't been mapped yet

When the kernel panics early for some unrelated reason
there would be eventually an early exception inside panic because
clear_local_APIC tried to disable the not yet mapped APIC.
Check for that explicitely.

Signed-off-by: Andi Kleen <ak@suse.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
arch/x86/kernel/apic_32.c
arch/x86/kernel/apic_64.c