OSDN Git Service

[PATCH] lockdep: irqtrace subsystem, move account_system_vtime() calls into kernel...
[sagit-ice-cold/kernel_xiaomi_msm8998.git] / arch / powerpc / kernel / irq.c
index 027728b..e3774f6 100644 (file)
@@ -424,13 +424,8 @@ void do_softirq(void)
 
        local_irq_save(flags);
 
-       if (local_softirq_pending()) {
-               account_system_vtime(current);
-               local_bh_disable();
+       if (local_softirq_pending())
                do_softirq_onstack();
-               account_system_vtime(current);
-               _local_bh_enable();
-       }
 
        local_irq_restore(flags);
 }