X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=include%2Fasm-frv%2Fhardirq.h;h=fc47515822a2d9da8bd43ab2864d8638a6fa7c87;hb=97bf2856c6014879bd04983a3e9dfcdac1e7fe85;hp=685123981e8b291d9ab1865220ba221722e14bb0;hpb=76828883507a47dae78837ab5dec5a5b4513c667;p=linux-2.6.git diff --git a/include/asm-frv/hardirq.h b/include/asm-frv/hardirq.h index 685123981..fc4751582 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