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/mm | |
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/mm')
-rw-r--r-- | arch/parisc/mm/init.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/parisc/mm/init.c b/arch/parisc/mm/init.c index 157b931e7b09..ce939ac8622b 100644 --- a/arch/parisc/mm/init.c +++ b/arch/parisc/mm/init.c | |||
@@ -1069,6 +1069,7 @@ void flush_tlb_all(void) | |||
1069 | { | 1069 | { |
1070 | int do_recycle; | 1070 | int do_recycle; |
1071 | 1071 | ||
1072 | inc_irq_stat(irq_tlb_count); | ||
1072 | do_recycle = 0; | 1073 | do_recycle = 0; |
1073 | spin_lock(&sid_lock); | 1074 | spin_lock(&sid_lock); |
1074 | if (dirty_space_ids > RECYCLE_THRESHOLD) { | 1075 | if (dirty_space_ids > RECYCLE_THRESHOLD) { |
@@ -1089,6 +1090,7 @@ void flush_tlb_all(void) | |||
1089 | #else | 1090 | #else |
1090 | void flush_tlb_all(void) | 1091 | void flush_tlb_all(void) |
1091 | { | 1092 | { |
1093 | inc_irq_stat(irq_tlb_count); | ||
1092 | spin_lock(&sid_lock); | 1094 | spin_lock(&sid_lock); |
1093 | flush_tlb_all_local(NULL); | 1095 | flush_tlb_all_local(NULL); |
1094 | recycle_sids(); | 1096 | recycle_sids(); |