https://github.com/torvalds/linux
Revision 9c3cdc1f83a6e07092392ff4aba6466517dbd1d0 authored by Linus Torvalds on 11 May 2008, 02:51:16 UTC, committed by Linus Torvalds on 11 May 2008, 02:51:16 UTC
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>
1 parent 3ed43c7
History
Tip revision: 9c3cdc1f83a6e07092392ff4aba6466517dbd1d0 authored by Linus Torvalds on 11 May 2008, 02:51:16 UTC
Move ACCESS_ONCE() to <linux/compiler.h>
Tip revision: 9c3cdc1
File Mode Size
Documentation
arch
block
crypto
drivers
fs
include
init
ipc
kernel
lib
mm
net
samples
scripts
security
sound
usr
virt
.gitignore -rw-r--r-- 682 bytes
.mailmap -rw-r--r-- 3.6 KB
COPYING -rw-r--r-- 18.3 KB
CREDITS -rw-r--r-- 90.5 KB
Kbuild -rw-r--r-- 2.4 KB
MAINTAINERS -rw-r--r-- 97.0 KB
Makefile -rw-r--r-- 53.7 KB
README -rw-r--r-- 16.5 KB
REPORTING-BUGS -rw-r--r-- 3.1 KB

README

back to top