]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
sched: remove the 'u64 now' parameter from ->task_new()
authorIngo Molnar <mingo@elte.hu>
Thu, 9 Aug 2007 09:16:49 +0000 (11:16 +0200)
committerIngo Molnar <mingo@elte.hu>
Thu, 9 Aug 2007 09:16:49 +0000 (11:16 +0200)
remove the 'u64 now' parameter from ->task_new().

( identity transformation that causes no change in functionality. )

Signed-off-by: Ingo Molnar <mingo@elte.hu>
include/linux/sched.h
kernel/sched.c
kernel/sched_fair.c

index 9afb66a4935850af93b16f728e0c47417b27af98..682ef87da6eb953348986927598eeaf8b2264ec4 100644 (file)
@@ -872,7 +872,7 @@ struct sched_class {
 
        void (*set_curr_task) (struct rq *rq);
        void (*task_tick) (struct rq *rq, struct task_struct *p);
-       void (*task_new) (struct rq *rq, struct task_struct *p, u64 now);
+       void (*task_new) (struct rq *rq, struct task_struct *p);
 };
 
 struct load_weight {
index 66444016048522e18680f775bbdb9f30d424d4a2..0619178efa01f6257abc12f45f76aac6e9e77aba 100644 (file)
@@ -1672,7 +1672,7 @@ void fastcall wake_up_new_task(struct task_struct *p, unsigned long clone_flags)
                 * Let the scheduling class do new task startup
                 * management (if any):
                 */
-               p->sched_class->task_new(rq, p, now);
+               p->sched_class->task_new(rq, p);
                inc_nr_running(p, rq, now);
        }
        check_preempt_curr(rq, p);
index 103327b4275daa85578d9037626ae7bd6d666a0f..4a2cbde1057f15e6cb8cf87e685406685f3290e6 100644 (file)
@@ -1020,7 +1020,7 @@ static void task_tick_fair(struct rq *rq, struct task_struct *curr)
  * monopolize the CPU. Note: the parent runqueue is locked,
  * the child is not running yet.
  */
-static void task_new_fair(struct rq *rq, struct task_struct *p, u64 now)
+static void task_new_fair(struct rq *rq, struct task_struct *p)
 {
        struct cfs_rq *cfs_rq = task_cfs_rq(p);
        struct sched_entity *se = &p->se;