diff options
author | Russell King <rmk+kernel@arm.linux.org.uk> | 2010-11-15 09:40:29 -0500 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2010-12-20 10:08:01 -0500 |
commit | 4a88abd7b48e8ec8084b1252d0f5ebdab43c2508 (patch) | |
tree | 6f2bd56428c4a684c1bd4a06767e78128977c492 /arch/arm/include | |
parent | f13cd4170ee789f63b3c9585c1ae34e028bd549d (diff) |
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')
-rw-r--r-- | arch/arm/include/asm/hardirq.h | 4 |
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 @@ | |||
5 | #include <linux/threads.h> | 5 | #include <linux/threads.h> |
6 | #include <asm/irq.h> | 6 | #include <asm/irq.h> |
7 | 7 | ||
8 | #define NR_IPI 5 | ||
9 | |||
8 | typedef struct { | 10 | typedef struct { |
9 | unsigned int __softirq_pending; | 11 | unsigned int __softirq_pending; |
10 | #ifdef CONFIG_LOCAL_TIMERS | 12 | #ifdef CONFIG_LOCAL_TIMERS |
11 | unsigned int local_timer_irqs; | 13 | unsigned int local_timer_irqs; |
12 | #endif | 14 | #endif |
13 | #ifdef CONFIG_SMP | 15 | #ifdef CONFIG_SMP |
14 | unsigned int ipi_irqs; | 16 | unsigned int ipi_irqs[NR_IPI]; |
15 | #endif | 17 | #endif |
16 | } ____cacheline_aligned irq_cpustat_t; | 18 | } ____cacheline_aligned irq_cpustat_t; |
17 | 19 | ||