diff options
Diffstat (limited to 'kernel/sched_rt.c')
-rw-r--r-- | kernel/sched_rt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/sched_rt.c b/kernel/sched_rt.c index 552310798dad..6d2d0a5d030b 100644 --- a/kernel/sched_rt.c +++ b/kernel/sched_rt.c | |||
@@ -783,7 +783,7 @@ static void check_preempt_equal_prio(struct rq *rq, struct task_struct *p) | |||
783 | /* | 783 | /* |
784 | * Preempt the current task with a newly woken task if needed: | 784 | * Preempt the current task with a newly woken task if needed: |
785 | */ | 785 | */ |
786 | static void check_preempt_curr_rt(struct rq *rq, struct task_struct *p) | 786 | static void check_preempt_curr_rt(struct rq *rq, struct task_struct *p, int sync) |
787 | { | 787 | { |
788 | if (p->prio < rq->curr->prio) { | 788 | if (p->prio < rq->curr->prio) { |
789 | resched_task(rq->curr); | 789 | resched_task(rq->curr); |