mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-13 08:07:32 -04:00
Merge "sched: Fix "releasing a pinned lock" lockdep warning"
This commit is contained in:
commit
5cc19bc1b5
1 changed files with 1 additions and 0 deletions
|
|
@ -1540,6 +1540,7 @@ static struct rq *move_queued_task(struct rq *rq, struct rq_flags *rf,
|
|||
|
||||
WRITE_ONCE(p->on_rq, TASK_ON_RQ_MIGRATING);
|
||||
dequeue_task(rq, p, DEQUEUE_NOCLOCK);
|
||||
rq_unpin_lock(rq, rf);
|
||||
double_lock_balance(rq, cpu_rq(new_cpu));
|
||||
if (!(rq->clock_update_flags & RQCF_UPDATED))
|
||||
update_rq_clock(rq);
|
||||
|
|
|
|||
Loading…
Reference in a new issue