[PATCH] i386/x86-64: Don't ack the APIC for bad interrupts when the APIC is not enabled
authorAndi Kleen <ak@suse.de>
Fri, 3 Feb 2006 20:51:53 +0000 (21:51 +0100)
committerLinus Torvalds <torvalds@g5.osdl.org>
Sun, 5 Feb 2006 00:43:15 +0000 (16:43 -0800)
commit3777a95903953c55f2309a89679b73c19ae5535b
tree45a922a1ff82fc0f3d2a3865bfcb23d68c12792c
parent7f66ae48de27bc9506cff0f2991d74901a0c2f8d
[PATCH] i386/x86-64: Don't ack the APIC for bad interrupts when the APIC is not enabled

It's bad juju to touch the APIC when it hasn't been enabled.
I also moved ack_bad_irq for x86-64 out of line following i386.

Signed-off-by: Andi Kleen <ak@suse.de>
Acked-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/i386/kernel/apic.c
arch/x86_64/kernel/apic.c
include/asm-x86_64/hardirq.h