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)
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>

No differences found