Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 8354
b: refs/heads/master
c: 5927ad7
h: refs/heads/master
v: v3
  • Loading branch information
Renaud Lienhart authored and Linus Torvalds committed Sep 10, 2005
1 parent 21449da commit 2144656
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: 5969fe0618051e8577316555a81a6e44b7b7d640
refs/heads/master: 5927ad78ec75870b1bdfa65a10ad1300cd664d36
2 changes: 1 addition & 1 deletion trunk/kernel/sched.c
Original file line number Diff line number Diff line change
Expand Up @@ -3938,7 +3938,7 @@ asmlinkage long sys_sched_yield(void)
if (rt_task(current))
target = rq->active;

if (current->array->nr_active == 1) {
if (array->nr_active == 1) {
schedstat_inc(rq, yld_act_empty);
if (!rq->expired->nr_active)
schedstat_inc(rq, yld_both_empty);
Expand Down

0 comments on commit 2144656

Please sign in to comment.