summaryrefslogtreecommitdiff
path: root/include/asm-frv/hardirq.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-frv/hardirq.h')
-rw-r--r--include/asm-frv/hardirq.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/asm-frv/hardirq.h b/include/asm-frv/hardirq.h
index 7581b5a7559..fc47515822a 100644
--- a/include/asm-frv/hardirq.h
+++ b/include/asm-frv/hardirq.h
@@ -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