Skip to content
Commit af794206 authored by David Howells's avatar David Howells
Browse files

MN10300: atomic_read() should ensure it emits a load



atomic_read() needs to ensure that it emits a load (which it can do by using
ACCESS_ONCE()).

Reported-by: default avatarPeter Zijlstra <peterz@infradead.org>
Signed-off-by: default avatarDavid Howells <dhowells@redhat.com>
parent dcca52c2
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment