aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/softirq.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/softirq.c')
-rw-r--r--kernel/softirq.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/kernel/softirq.c b/kernel/softirq.c
index 584609b6a66e..215541e26c1a 100644
--- a/kernel/softirq.c
+++ b/kernel/softirq.c
@@ -193,6 +193,8 @@ asmlinkage void __do_softirq(void)
193 int cpu; 193 int cpu;
194 194
195 pending = local_softirq_pending(); 195 pending = local_softirq_pending();
196 account_system_vtime(current);
197
196 __local_bh_disable((unsigned long)__builtin_return_address(0)); 198 __local_bh_disable((unsigned long)__builtin_return_address(0));
197 trace_softirq_enter(); 199 trace_softirq_enter();
198 200
@@ -224,6 +226,8 @@ restart:
224 wakeup_softirqd(); 226 wakeup_softirqd();
225 227
226 trace_softirq_exit(); 228 trace_softirq_exit();
229
230 account_system_vtime(current);
227 _local_bh_enable(); 231 _local_bh_enable();
228} 232}
229 233