[2.6 patch] x86_64 hardirq.h: no need to #ifdef CONFIG_X86

From: Adrian Bunk
Date: Tue Nov 23 2004 - 19:27:05 EST



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: Adrian Bunk <bunk@xxxxxxxxx>

--- linux-2.6.10-rc2-mm3-full/include/asm-x86_64/hardirq.h.old 2004-11-23 23:18:20.000000000 +0100
+++ linux-2.6.10-rc2-mm3-full/include/asm-x86_64/hardirq.h 2004-11-23 23:18:35.000000000 +0100
@@ -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 @@
*/
ack_APIC_irq();
#endif
-#endif
}
#endif /* __ASM_HARDIRQ_H */

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/