diff options
author | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | 2013-12-11 22:59:04 +0100 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2013-12-16 11:36:08 +0100 |
commit | 2ecf810121c7eae34473b8fa108112036bc61127 (patch) | |
tree | db2f48fec611baab7b9fa15f45c9be8c5587670c /fs/compat_binfmt_elf.c | |
parent | Revert "smp/cpumask: Make CONFIG_CPUMASK_OFFSTACK=y usable without debug depe... (diff) | |
download | linux-2ecf810121c7eae34473b8fa108112036bc61127.tar.xz linux-2ecf810121c7eae34473b8fa108112036bc61127.zip |
Documentation/memory-barriers.txt: Add needed ACCESS_ONCE() calls to memory-barriers.txt
The Documentation/memory-barriers.txt file was written before
the need for ACCESS_ONCE() was fully appreciated. It therefore
contains no ACCESS_ONCE() calls, which can be a problem when
people lift examples from it. This commit therefore adds
ACCESS_ONCE() calls.
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Reviewed-by: Josh Triplett <josh@joshtriplett.org>
Reviewed-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: <linux-arch@vger.kernel.org>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Andrew Morton <akpm@linux-foundation.org>
Link: http://lkml.kernel.org/r/1386799151-2219-1-git-send-email-paulmck@linux.vnet.ibm.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'fs/compat_binfmt_elf.c')
0 files changed, 0 insertions, 0 deletions