[PATCH] sched: ->task_new cleanup
make sched_class.task_new == NULL a 'default method', this allows the removal of task_rt_new. Signed-off-by: Ingo Molnar <mingo@elte.hu>
This commit is contained in:
parent
4e6f96f313
commit
cad60d93e1
4 changed files with 10 additions and 17 deletions
|
@ -874,7 +874,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);
|
||||
void (*task_new) (struct rq *rq, struct task_struct *p, u64 now);
|
||||
};
|
||||
|
||||
struct load_weight {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue