summaryrefslogtreecommitdiffstats
path: root/kernel/arch/tile/include/asm/atomic.h
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/arch/tile/include/asm/atomic.h')
-rw-r--r--kernel/arch/tile/include/asm/atomic.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/arch/tile/include/asm/atomic.h b/kernel/arch/tile/include/asm/atomic.h
index 709798460..9fc0107a9 100644
--- a/kernel/arch/tile/include/asm/atomic.h
+++ b/kernel/arch/tile/include/asm/atomic.h
@@ -34,7 +34,7 @@
*/
static inline int atomic_read(const atomic_t *v)
{
- return ACCESS_ONCE(v->counter);
+ return READ_ONCE(v->counter);
}
/**