Skip to content
Commit 9c3cdc1f authored by Linus Torvalds's avatar Linus Torvalds
Browse files

Move ACCESS_ONCE() to <linux/compiler.h>



It actually makes much more sense there, and we do tend to need it for
non-RCU usage too.  Moving it to <linux/compiler.h> will allow some
other cases that have open-coded the same logic to use the same helper
function that RCU has used.

Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 3ed43c74
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