Commit 8159f87e2bfeeba8887b8ef34f7b523958910132

Authored by Ingo Molnar
1 parent db53181e41

sched: remove the 'u64 now' parameter from enqueue_task()

remove the 'u64 now' parameter from enqueue_task().

( identity transformation that causes no change in functionality. )

Signed-off-by: Ingo Molnar <mingo@elte.hu>

Showing 1 changed file with 5 additions and 6 deletions Side-by-side Diff

... ... @@ -846,8 +846,7 @@
846 846 p->se.load.inv_weight = prio_to_wmult[p->static_prio - MAX_RT_PRIO];
847 847 }
848 848  
849   -static void
850   -enqueue_task(struct rq *rq, struct task_struct *p, int wakeup, u64 now)
  849 +static void enqueue_task(struct rq *rq, struct task_struct *p, int wakeup)
851 850 {
852 851 sched_info_queued(p);
853 852 p->sched_class->enqueue_task(rq, p, wakeup);
... ... @@ -920,7 +919,7 @@
920 919 if (p->state == TASK_UNINTERRUPTIBLE)
921 920 rq->nr_uninterruptible--;
922 921  
923   - enqueue_task(rq, p, wakeup, now);
  922 + enqueue_task(rq, p, wakeup);
924 923 inc_nr_running(p, rq);
925 924 }
926 925  
... ... @@ -937,7 +936,7 @@
937 936 if (p->state == TASK_UNINTERRUPTIBLE)
938 937 rq->nr_uninterruptible--;
939 938  
940   - enqueue_task(rq, p, 0, now);
  939 + enqueue_task(rq, p, 0);
941 940 inc_nr_running(p, rq);
942 941 }
943 942  
... ... @@ -3933,7 +3932,7 @@
3933 3932 p->prio = prio;
3934 3933  
3935 3934 if (on_rq) {
3936   - enqueue_task(rq, p, 0, now);
  3935 + enqueue_task(rq, p, 0);
3937 3936 /*
3938 3937 * Reschedule if we are currently running on this runqueue and
3939 3938 * our priority decreased, or if we are not currently running on
... ... @@ -3990,7 +3989,7 @@
3990 3989 delta = p->prio - old_prio;
3991 3990  
3992 3991 if (on_rq) {
3993   - enqueue_task(rq, p, 0, now);
  3992 + enqueue_task(rq, p, 0);
3994 3993 inc_load(rq, p);
3995 3994 /*
3996 3995 * If the task increased its priority or is running and