]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - kernel/sched_rt.c
sched: wakeup preempt when small overlap
[linux-2.6-omap-h63xx.git] / kernel / sched_rt.c
index 552310798dadf13e3b2059d5f84e050f7e0926e2..6d2d0a5d030b5c99ac28cbbb46fd3784e14d812d 100644 (file)
@@ -783,7 +783,7 @@ static void check_preempt_equal_prio(struct rq *rq, struct task_struct *p)
 /*
  * Preempt the current task with a newly woken task if needed:
  */
-static void check_preempt_curr_rt(struct rq *rq, struct task_struct *p)
+static void check_preempt_curr_rt(struct rq *rq, struct task_struct *p, int sync)
 {
        if (p->prio < rq->curr->prio) {
                resched_task(rq->curr);