sched: walt: Replace smp_load_acquire with atomic_read for irq_work flags
Signed-off-by: Sorayukii <sorayukii69@gmail.com>
This commit is contained in:
parent
b9ca100ae8
commit
da96a2847a
1 changed files with 1 additions and 1 deletions
|
|
@ -1291,7 +1291,7 @@ void walt_finish_migrate(struct task_struct *p,
|
|||
* and is in a pending state, do not push a migration
|
||||
* job, because all magic will have been done anyway.
|
||||
*/
|
||||
if (!(smp_load_acquire(&walt_cpufreq_irq_work.flags) &
|
||||
if (!(atomic_read(&walt_cpufreq_irq_work.flags) &
|
||||
IRQ_WORK_PENDING)) {
|
||||
raw_spin_lock(&speedchange_cpumask_lock);
|
||||
src_rq->notif_pending = true;
|
||||
|
|
|
|||
Loading…
Reference in a new issue