aboutsummaryrefslogtreecommitdiff
path: root/arch/x86/include/asm/hardirq_32.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86/include/asm/hardirq_32.h')
-rw-r--r--arch/x86/include/asm/hardirq_32.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/x86/include/asm/hardirq_32.h b/arch/x86/include/asm/hardirq_32.h
index 5ca135e72f2..cf7954d1405 100644
--- a/arch/x86/include/asm/hardirq_32.h
+++ b/arch/x86/include/asm/hardirq_32.h
@@ -22,6 +22,8 @@ DECLARE_PER_CPU(irq_cpustat_t, irq_stat);
#define __ARCH_IRQ_STAT
#define __IRQ_STAT(cpu, member) (per_cpu(irq_stat, cpu).member)
+#define inc_irq_stat(member) (__get_cpu_var(irq_stat).member++)
+
void ack_bad_irq(unsigned int irq);
#include <linux/irq_cpustat.h>