X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=include%2Fasm-frv%2Fhardirq.h;h=fc47515822a2d9da8bd43ab2864d8638a6fa7c87;hb=64c911a3f7c9864a4bbddbb77b722d5553ddcd32;hp=685123981e8b291d9ab1865220ba221722e14bb0;hpb=25c862cc9ea9b312c25a9f577f91b973131f1261;p=linux-2.6 diff --git a/include/asm-frv/hardirq.h b/include/asm-frv/hardirq.h index 685123981e..fc47515822 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