lkml.org 
[lkml]   [2004]   [Nov]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[2.6 patch] x86_64 hardirq.h: no need to #ifdef CONFIG_X86

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@stusta.de>

--- 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@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 14:08    [W:0.031 / U:1.036 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site