summaryrefslogtreecommitdiffstats
path: root/arch/arm/include/asm
diff options
context:
space:
mode:
authorRussell King <rmk+kernel@arm.linux.org.uk>2010-11-15 15:40:29 +0100
committerRussell King <rmk+kernel@arm.linux.org.uk>2010-12-20 16:08:01 +0100
commit4a88abd7b48e8ec8084b1252d0f5ebdab43c2508 (patch)
tree6f2bd56428c4a684c1bd4a06767e78128977c492 /arch/arm/include/asm
parentARM: fix /proc/interrupts formatting (diff)
downloadlinux-4a88abd7b48e8ec8084b1252d0f5ebdab43c2508.tar.xz
linux-4a88abd7b48e8ec8084b1252d0f5ebdab43c2508.zip
ARM: SMP: provide individual IPI interrupt statistics
This separates out the individual IPI interrupt counts from the total IPI count, which allows better visibility of what IPIs are being used for. Reviewed-by: Catalin Marinas <catalin.marinas@arm.com> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/include/asm')
-rw-r--r--arch/arm/include/asm/hardirq.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/arch/arm/include/asm/hardirq.h b/arch/arm/include/asm/hardirq.h
index 824b08aa3f7a..c52e2507c9e0 100644
--- a/arch/arm/include/asm/hardirq.h
+++ b/arch/arm/include/asm/hardirq.h
@@ -5,13 +5,15 @@
#include <linux/threads.h>
#include <asm/irq.h>
+#define NR_IPI 5
+
typedef struct {
unsigned int __softirq_pending;
#ifdef CONFIG_LOCAL_TIMERS
unsigned int local_timer_irqs;
#endif
#ifdef CONFIG_SMP
- unsigned int ipi_irqs;
+ unsigned int ipi_irqs[NR_IPI];
#endif
} ____cacheline_aligned irq_cpustat_t;