mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 03:01:39 -04:00
sched: Remove rq argument to sched_class::task_waking()
In preparation of calling this without rq->lock held, remove the dependency on the rq argument. Reviewed-by: Frank Rowand <[email protected]> Signed-off-by: Peter Zijlstra <[email protected]> Cc: Mike Galbraith <[email protected]> Cc: Nick Piggin <[email protected]> Cc: Linus Torvalds <[email protected]> Cc: Andrew Morton <[email protected]> Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Ingo Molnar <[email protected]>
This commit is contained in:
parent
7608dec2ce
commit
74f8e4b233
3 changed files with 11 additions and 5 deletions
|
|
@ -2531,7 +2531,7 @@ static int try_to_wake_up(struct task_struct *p, unsigned int state,
|
|||
p->state = TASK_WAKING;
|
||||
|
||||
if (p->sched_class->task_waking) {
|
||||
p->sched_class->task_waking(rq, p);
|
||||
p->sched_class->task_waking(p);
|
||||
en_flags |= ENQUEUE_WAKING;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue