diff options
Diffstat (limited to 'kernel/sched.c')
-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 3b104635a8ea..e1f784f4b4db 100644 --- a/kernel/sched.c +++ b/kernel/sched.c | |||
@@ -4537,7 +4537,7 @@ asmlinkage long sys_sched_yield(void) | |||
4537 | struct rq *rq = this_rq_lock(); | 4537 | struct rq *rq = this_rq_lock(); |
4538 | 4538 | ||
4539 | schedstat_inc(rq, yld_cnt); | 4539 | schedstat_inc(rq, yld_cnt); |
4540 | current->sched_class->yield_task(rq, current); | 4540 | current->sched_class->yield_task(rq); |
4541 | 4541 | ||
4542 | /* | 4542 | /* |
4543 | * Since we are going to call schedule() anyway, there's | 4543 | * Since we are going to call schedule() anyway, there's |