aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/sched/rt.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/sched/rt.c')
-rw-r--r--kernel/sched/rt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/sched/rt.c b/kernel/sched/rt.c
index 575da76a3874..560d2fa623c3 100644
--- a/kernel/sched/rt.c
+++ b/kernel/sched/rt.c
@@ -1323,7 +1323,7 @@ select_task_rq_rt(struct task_struct *p, int cpu, int sd_flag, int flags)
1323 rq = cpu_rq(cpu); 1323 rq = cpu_rq(cpu);
1324 1324
1325 rcu_read_lock(); 1325 rcu_read_lock();
1326 curr = ACCESS_ONCE(rq->curr); /* unlocked access */ 1326 curr = READ_ONCE(rq->curr); /* unlocked access */
1327 1327
1328 /* 1328 /*
1329 * If the current task on @p's runqueue is an RT task, then 1329 * If the current task on @p's runqueue is an RT task, then