You've already forked linux-apfs
mirror of
https://github.com/linux-apfs/linux-apfs.git
synced 2026-05-01 15:00:59 -07:00
[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 <jbeulich@novell.com> Cc: Ingo Molnar <mingo@elte.hu> Signed-off-by: Andi Kleen <ak@suse.de> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:
committed by
Linus Torvalds
parent
50753817a3
commit
e1a8e6c9b7
@@ -77,7 +77,7 @@ void ack_bad_irq(unsigned int irq)
|
|||||||
* completely.
|
* completely.
|
||||||
* But only ack when the APIC is enabled -AK
|
* But only ack when the APIC is enabled -AK
|
||||||
*/
|
*/
|
||||||
if (!cpu_has_apic)
|
if (cpu_has_apic)
|
||||||
ack_APIC_irq();
|
ack_APIC_irq();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user