Commit 717a2326 authored by Andi Kleen's avatar Andi Kleen Committed by Linus Torvalds

[PATCH] x86_64: Remove unneeded ifdef in hardirq.h

Remove unneeded ifdef in hardirq.h

I can't see any reason for the #ifdef CONFIG_X86 introduced to the x86_64
hardirq.h as part of the generic irq subsystem changes.
Signed-off-by: default avatarAdrian Bunk <bunk@stusta.de>
Signed-off-by: default avatarAndi Kleen <ak@suse.de>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 88dc0b09
......@@ -21,7 +21,6 @@
*/
static inline void ack_bad_irq(unsigned int irq)
{
#ifdef CONFIG_X86
printk("unexpected IRQ trap at vector %02x\n", irq);
#ifdef CONFIG_X86_LOCAL_APIC
/*
......@@ -34,6 +33,5 @@ static inline void ack_bad_irq(unsigned int irq)
*/
ack_APIC_irq();
#endif
#endif
}
#endif /* __ASM_HARDIRQ_H */
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment