Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 135692
b: refs/heads/master
c: c40c6f8
h: refs/heads/master
v: v3
  • Loading branch information
Li Zefan authored and Ingo Molnar committed Feb 26, 2009
1 parent 2447280 commit 02e3cc4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 4434e5156409eb3ec98f5ad7f0a0c07ebafe970d
refs/heads/master: c40c6f85a7594ad842233885386a0ca4cd40eafe
2 changes: 1 addition & 1 deletion trunk/kernel/sched.c
Original file line number Diff line number Diff line change
Expand Up @@ -9684,7 +9684,7 @@ static void cpuacct_charge(struct task_struct *tsk, u64 cputime)
struct cpuacct *ca;
int cpu;

if (!cpuacct_subsys.active)
if (unlikely(!cpuacct_subsys.active))
return;

cpu = task_cpu(tsk);
Expand Down

0 comments on commit 02e3cc4

Please sign in to comment.