X-Git-Url: http://git.rot13.org/?a=blobdiff_plain;f=include%2Fasm-frv%2Fhardirq.h;h=fc47515822a2d9da8bd43ab2864d8638a6fa7c87;hb=ae4472aa03d38b11f334dc0030b82e0c9f249af9;hp=7581b5a7559a1d507175aaff954ebdd286706343;hpb=c71bd6944eb1458b7887af1783101f5a46140c40;p=powerpc.git diff --git a/include/asm-frv/hardirq.h b/include/asm-frv/hardirq.h index 7581b5a755..fc47515822 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