aboutsummaryrefslogtreecommitdiffstats
path: root/kernel
diff options
context:
space:
mode:
Diffstat (limited to 'kernel')
-rw-r--r--kernel/sched.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/sched.c b/kernel/sched.c
index 46fdd0bb1ed6..103f705b245c 100644
--- a/kernel/sched.c
+++ b/kernel/sched.c
@@ -3938,7 +3938,7 @@ asmlinkage long sys_sched_yield(void)
3938 if (rt_task(current)) 3938 if (rt_task(current))
3939 target = rq->active; 3939 target = rq->active;
3940 3940
3941 if (current->array->nr_active == 1) { 3941 if (array->nr_active == 1) {
3942 schedstat_inc(rq, yld_act_empty); 3942 schedstat_inc(rq, yld_act_empty);
3943 if (!rq->expired->nr_active) 3943 if (!rq->expired->nr_active)
3944 schedstat_inc(rq, yld_both_empty); 3944 schedstat_inc(rq, yld_both_empty);