diff options
author | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | 2013-12-11 13:59:04 -0800 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2013-12-16 11:36:08 +0100 |
commit | 2ecf810121c7eae34473b8fa108112036bc61127 (patch) | |
tree | db2f48fec611baab7b9fa15f45c9be8c5587670c /Kbuild | |
parent | 962d9c5757b2ebd30678a88a4f475ae997f4d5dd (diff) | |
download | talos-obmc-linux-2ecf810121c7eae34473b8fa108112036bc61127.tar.gz talos-obmc-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 'Kbuild')
0 files changed, 0 insertions, 0 deletions