]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blobdiff - arch/tile/kernel/ptrace.c
locking/atomics: COCCINELLE/treewide: Convert trivial ACCESS_ONCE() patterns to READ_...
[mirror_ubuntu-bionic-kernel.git] / arch / tile / kernel / ptrace.c
index e1a078e6828e5915968de2adac4b306d870e421f..d516d61751c2250dbaa60bdb9c0b24dfe09e28e9 100644 (file)
@@ -255,7 +255,7 @@ long compat_arch_ptrace(struct task_struct *child, compat_long_t request,
 
 int do_syscall_trace_enter(struct pt_regs *regs)
 {
-       u32 work = ACCESS_ONCE(current_thread_info()->flags);
+       u32 work = READ_ONCE(current_thread_info()->flags);
 
        if ((work & _TIF_SYSCALL_TRACE) &&
            tracehook_report_syscall_entry(regs)) {