aboutsummaryrefslogtreecommitdiffstats
path: root/kernel
diff options
context:
space:
mode:
Diffstat (limited to 'kernel')
-rw-r--r--kernel/sched/core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/sched/core.c b/kernel/sched/core.c
index 321d800e4baa..afcc84234a3e 100644
--- a/kernel/sched/core.c
+++ b/kernel/sched/core.c
@@ -4195,7 +4195,7 @@ EXPORT_SYMBOL(yield);
4195 * false (0) if we failed to boost the target. 4195 * false (0) if we failed to boost the target.
4196 * -ESRCH if there's no task to yield to. 4196 * -ESRCH if there's no task to yield to.
4197 */ 4197 */
4198bool __sched yield_to(struct task_struct *p, bool preempt) 4198int __sched yield_to(struct task_struct *p, bool preempt)
4199{ 4199{
4200 struct task_struct *curr = current; 4200 struct task_struct *curr = current;
4201 struct rq *rq, *p_rq; 4201 struct rq *rq, *p_rq;