diff options
author | Ingo Molnar <mingo@elte.hu> | 2007-08-09 11:16:49 +0200 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2007-08-09 11:16:49 +0200 |
commit | ee0827d8b5271094380410cf21d8c48c109a773a (patch) | |
tree | 2886f7c95b983ffdb89d3a34590e01fbbb3133c7 /kernel | |
parent | 31ee529cc2254e8b62880535ec8f21a4c5e1c091 (diff) | |
download | op-kernel-dev-ee0827d8b5271094380410cf21d8c48c109a773a.zip op-kernel-dev-ee0827d8b5271094380410cf21d8c48c109a773a.tar.gz |
sched: remove the 'u64 now' parameter from ->task_new()
remove the 'u64 now' parameter from ->task_new().
( identity transformation that causes no change in functionality. )
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'kernel')
-rw-r--r-- | kernel/sched.c | 2 | ||||
-rw-r--r-- | kernel/sched_fair.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/kernel/sched.c b/kernel/sched.c index 6644401..0619178 100644 --- a/kernel/sched.c +++ b/kernel/sched.c @@ -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); diff --git a/kernel/sched_fair.c b/kernel/sched_fair.c index 103327b..4a2cbde 100644 --- a/kernel/sched_fair.c +++ b/kernel/sched_fair.c @@ -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; |