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/kernel/irq.c | |
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/kernel/irq.c')
-rw-r--r-- | arch/arm/kernel/irq.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/arm/kernel/irq.c b/arch/arm/kernel/irq.c index 4e7a7d272212..6276f01df9e4 100644 --- a/arch/arm/kernel/irq.c +++ b/arch/arm/kernel/irq.c | |||
@@ -62,6 +62,11 @@ int show_interrupts(struct seq_file *p, void *v) | |||
62 | for (prec = 3, n = 1000; prec < 10 && n <= nr_irqs; prec++) | 62 | for (prec = 3, n = 1000; prec < 10 && n <= nr_irqs; prec++) |
63 | n *= 10; | 63 | n *= 10; |
64 | 64 | ||
65 | #ifdef CONFIG_SMP | ||
66 | if (prec < 4) | ||
67 | prec = 4; | ||
68 | #endif | ||
69 | |||
65 | if (i == 0) { | 70 | if (i == 0) { |
66 | char cpuname[12]; | 71 | char cpuname[12]; |
67 | 72 | ||