X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=include%2Fasm-frv%2Fhardirq.h;h=fc47515822a2d9da8bd43ab2864d8638a6fa7c87;hb=refs%2Fheads%2Fvserver;hp=5248ca054909e4c8a1314077b6303f0f7f021d48;hpb=87fc8d1bb10cd459024a742c6a10961fefcef18f;p=linux-2.6.git diff --git a/include/asm-frv/hardirq.h b/include/asm-frv/hardirq.h index 5248ca054..fc4751582 100644 --- a/include/asm-frv/hardirq.h +++ b/include/asm-frv/hardirq.h @@ -12,8 +12,8 @@ #ifndef __ASM_HARDIRQ_H #define __ASM_HARDIRQ_H -#include #include +#include typedef struct { unsigned int __softirq_pending; @@ -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