]> Pileus Git - ~andy/linux/blobdiff - include/asm-frv/hardirq.h
[SCSI] aha152x, eata, u14-34f: minor irq handler cleanups
[~andy/linux] / include / asm-frv / hardirq.h
index 685123981e8b291d9ab1865220ba221722e14bb0..fc47515822a2d9da8bd43ab2864d8638a6fa7c87 100644 (file)
@@ -12,7 +12,6 @@
 #ifndef __ASM_HARDIRQ_H
 #define __ASM_HARDIRQ_H
 
-#include <linux/config.h>
 #include <linux/threads.h>
 #include <linux/irq.h>
 
@@ -27,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