]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/asm-frv/hardirq.h
[MIPS] Alchemy: kill unused PCI_IRQ_TABLE_LOOKUP macro
[linux-2.6-omap-h63xx.git] / include / asm-frv / hardirq.h
index 5248ca054909e4c8a1314077b6303f0f7f021d48..fc47515822a2d9da8bd43ab2864d8638a6fa7c87 100644 (file)
@@ -12,8 +12,8 @@
 #ifndef __ASM_HARDIRQ_H
 #define __ASM_HARDIRQ_H
 
-#include <linux/config.h>
 #include <linux/threads.h>
+#include <linux/irq.h>
 
 typedef struct {
        unsigned int __softirq_pending;
@@ -26,5 +26,10 @@ typedef struct {
 #error SMP not available on FR-V
 #endif /* CONFIG_SMP */
 
+extern atomic_t irq_err_count;
+static inline void ack_bad_irq(int irq)
+{
+       atomic_inc(&irq_err_count);
+}
 
 #endif