diff options
Diffstat (limited to 'kernel')
-rw-r--r-- | kernel/sched.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/sched.c b/kernel/sched.c index 5475d56a20f1..8e63ffb6ed05 100644 --- a/kernel/sched.c +++ b/kernel/sched.c | |||
@@ -9684,7 +9684,7 @@ static void cpuacct_charge(struct task_struct *tsk, u64 cputime) | |||
9684 | struct cpuacct *ca; | 9684 | struct cpuacct *ca; |
9685 | int cpu; | 9685 | int cpu; |
9686 | 9686 | ||
9687 | if (!cpuacct_subsys.active) | 9687 | if (unlikely(!cpuacct_subsys.active)) |
9688 | return; | 9688 | return; |
9689 | 9689 | ||
9690 | cpu = task_cpu(tsk); | 9690 | cpu = task_cpu(tsk); |