sched/walt: fixup_busy_time: Correct typo in lockdep_assert_held

The parameter to lockdep_assert_held should be a pointer to a lock, not the
lock itself.

Change-Id: I4586d86b8684b21370a2bc522862932481fef538
Signed-off-by: Elliot Berman <eberman@codeaurora.org>
This commit is contained in:
Elliot Berman 2021-05-18 17:10:51 -07:00 committed by Rishabh Bhatnagar
parent 42aab9f364
commit 2dbf2bb3b9

View File

@ -981,8 +981,8 @@ static void fixup_busy_time(struct task_struct *p, int new_cpu)
wallclock = sched_ktime_clock();
lockdep_assert_held(src_rq->lock);
lockdep_assert_held(dest_rq->lock);
lockdep_assert_held(&src_rq->lock);
lockdep_assert_held(&dest_rq->lock);
walt_update_task_ravg(task_rq(p)->curr, task_rq(p),
TASK_UPDATE,