X-Git-Url: http://pilppa.org/gitweb/gitweb.cgi?a=blobdiff_plain;f=include%2Fasm-frv%2Fhardirq.h;h=fc47515822a2d9da8bd43ab2864d8638a6fa7c87;hb=601a1b92ed3ce0025f7bec6fc591cceaef8d9d69;hp=685123981e8b291d9ab1865220ba221722e14bb0;hpb=2226340eb8df9c42f9fca74582d08d5117fc0cec;p=linux-2.6-omap-h63xx.git diff --git a/include/asm-frv/hardirq.h b/include/asm-frv/hardirq.h index 685123981e8..fc47515822a 100644 --- a/include/asm-frv/hardirq.h +++ b/include/asm-frv/hardirq.h @@ -12,7 +12,6 @@ #ifndef __ASM_HARDIRQ_H #define __ASM_HARDIRQ_H -#include #include #include @@ -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