From: Andi Kleen Date: Tue, 7 Feb 2006 11:48:00 +0000 (+0100) Subject: [PATCH] Fix bad apic fix on i386 X-Git-Tag: v2.6.16-rc3~138 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=e1a8e6c9b757c09249ab29fc6da12d9ab64567e1;p=linux-2.6-omap-h63xx.git [PATCH] Fix bad apic fix on i386 Fix wrong '!' in bad apic fix I forgot to remove the ! when moving the code from x86-64 to i386 x86-64 tested !disable_apic, but of course for cpu_has_apic it shouldn't be negated. Credit goes to Jan Beulich for spotting it with eagle eyes. Cc: Jan Beulich Cc: Ingo Molnar Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds --- diff --git a/arch/i386/kernel/apic.c b/arch/i386/kernel/apic.c index 98a5c23cf3d..f39e09ef64e 100644 --- a/arch/i386/kernel/apic.c +++ b/arch/i386/kernel/apic.c @@ -77,7 +77,7 @@ void ack_bad_irq(unsigned int irq) * completely. * But only ack when the APIC is enabled -AK */ - if (!cpu_has_apic) + if (cpu_has_apic) ack_APIC_irq(); }