diff options
author | Helge Deller <deller@gmx.de> | 2013-05-06 15:20:26 -0400 |
---|---|---|
committer | Helge Deller <deller@gmx.de> | 2013-05-07 16:39:22 -0400 |
commit | cd85d5514d5c4d7e78abac923fc032457d0c5091 (patch) | |
tree | b8a9ce478be624481fa8ec7341dd0ab96e7fb7ca /arch/parisc/kernel/smp.c | |
parent | 200c880420a2c02a0899120ce52d801fad705b90 (diff) |
parisc: more irq statistics in /proc/interrupts
Add framework and initial values for more fine grained statistics in
/proc/interrupts.
Signed-off-by: Helge Deller <deller@gmx.de>
Diffstat (limited to 'arch/parisc/kernel/smp.c')
-rw-r--r-- | arch/parisc/kernel/smp.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/parisc/kernel/smp.c b/arch/parisc/kernel/smp.c index fd1bb1519c2b..218e20bff9d2 100644 --- a/arch/parisc/kernel/smp.c +++ b/arch/parisc/kernel/smp.c | |||
@@ -127,7 +127,7 @@ ipi_interrupt(int irq, void *dev_id) | |||
127 | unsigned long flags; | 127 | unsigned long flags; |
128 | 128 | ||
129 | /* Count this now; we may make a call that never returns. */ | 129 | /* Count this now; we may make a call that never returns. */ |
130 | p->ipi_count++; | 130 | inc_irq_stat(irq_call_count); |
131 | 131 | ||
132 | mb(); /* Order interrupt and bit testing. */ | 132 | mb(); /* Order interrupt and bit testing. */ |
133 | 133 | ||
@@ -155,6 +155,7 @@ ipi_interrupt(int irq, void *dev_id) | |||
155 | 155 | ||
156 | case IPI_RESCHEDULE: | 156 | case IPI_RESCHEDULE: |
157 | smp_debug(100, KERN_DEBUG "CPU%d IPI_RESCHEDULE\n", this_cpu); | 157 | smp_debug(100, KERN_DEBUG "CPU%d IPI_RESCHEDULE\n", this_cpu); |
158 | inc_irq_stat(irq_resched_count); | ||
158 | scheduler_ipi(); | 159 | scheduler_ipi(); |
159 | break; | 160 | break; |
160 | 161 | ||