diff options
author | Ingo Molnar <mingo@elte.hu> | 2007-08-09 05:16:49 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2007-08-09 05:16:49 -0400 |
commit | ee0827d8b5271094380410cf21d8c48c109a773a (patch) | |
tree | 2886f7c95b983ffdb89d3a34590e01fbbb3133c7 | |
parent | 31ee529cc2254e8b62880535ec8f21a4c5e1c091 (diff) |
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>
-rw-r--r-- | include/linux/sched.h | 2 | ||||
-rw-r--r-- | kernel/sched.c | 2 | ||||
-rw-r--r-- | kernel/sched_fair.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/include/linux/sched.h b/include/linux/sched.h index 9afb66a49358..682ef87da6eb 100644 --- a/include/linux/sched.h +++ b/include/linux/sched.h | |||
@@ -872,7 +872,7 @@ struct sched_class { | |||
872 | 872 | ||
873 | void (*set_curr_task) (struct rq *rq); | 873 | void (*set_curr_task) (struct rq *rq); |
874 | void (*task_tick) (struct rq *rq, struct task_struct *p); | 874 | void (*task_tick) (struct rq *rq, struct task_struct *p); |
875 | void (*task_new) (struct rq *rq, struct task_struct *p, u64 now); | 875 | void (*task_new) (struct rq *rq, struct task_struct *p); |
876 | }; | 876 | }; |
877 | 877 | ||
878 | struct load_weight { | 878 | struct load_weight { |
diff --git a/kernel/sched.c b/kernel/sched.c index 664440160485..0619178efa01 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) | |||
1672 | * Let the scheduling class do new task startup | 1672 | * Let the scheduling class do new task startup |
1673 | * management (if any): | 1673 | * management (if any): |
1674 | */ | 1674 | */ |
1675 | p->sched_class->task_new(rq, p, now); | 1675 | p->sched_class->task_new(rq, p); |
1676 | inc_nr_running(p, rq, now); | 1676 | inc_nr_running(p, rq, now); |
1677 | } | 1677 | } |
1678 | check_preempt_curr(rq, p); | 1678 | check_preempt_curr(rq, p); |
diff --git a/kernel/sched_fair.c b/kernel/sched_fair.c index 103327b4275d..4a2cbde1057f 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) | |||
1020 | * monopolize the CPU. Note: the parent runqueue is locked, | 1020 | * monopolize the CPU. Note: the parent runqueue is locked, |
1021 | * the child is not running yet. | 1021 | * the child is not running yet. |
1022 | */ | 1022 | */ |
1023 | static void task_new_fair(struct rq *rq, struct task_struct *p, u64 now) | 1023 | static void task_new_fair(struct rq *rq, struct task_struct *p) |
1024 | { | 1024 | { |
1025 | struct cfs_rq *cfs_rq = task_cfs_rq(p); | 1025 | struct cfs_rq *cfs_rq = task_cfs_rq(p); |
1026 | struct sched_entity *se = &p->se; | 1026 | struct sched_entity *se = &p->se; |