]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/blobdiff - kernel/sched/rt.c
Merge branch 'timers-core-for-linus' of git://git.kernel.org/pub/scm/linux/kernel...
[mirror_ubuntu-focal-kernel.git] / kernel / sched / rt.c
index e43da5391dcdd785ed39d335f3d8056889924d87..7d7093c51f8d169cea027c78a9ca0321c8f15932 100644 (file)
@@ -1327,7 +1327,7 @@ select_task_rq_rt(struct task_struct *p, int cpu, int sd_flag, int flags)
        rq = cpu_rq(cpu);
 
        rcu_read_lock();
-       curr = ACCESS_ONCE(rq->curr); /* unlocked access */
+       curr = READ_ONCE(rq->curr); /* unlocked access */
 
        /*
         * If the current task on @p's runqueue is an RT task, then