]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
Move ACCESS_ONCE() to <linux/compiler.h>
authorLinus Torvalds <torvalds@linux-foundation.org>
Sun, 11 May 2008 02:51:16 +0000 (19:51 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Sun, 11 May 2008 02:51:16 +0000 (19:51 -0700)
commit9c3cdc1f83a6e07092392ff4aba6466517dbd1d0
tree4dc890f607da4f85ca3a66770e4bce109879e69b
parent3ed43c745d2ce0c4ca15ad406285d1cc7e8ceec3
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: Linus Torvalds <torvalds@linux-foundation.org>
include/linux/compiler.h
include/linux/rcupdate.h