From: Paul E. McKenney Date: Wed, 11 Dec 2013 21:59:04 +0000 (-0800) Subject: Documentation/memory-barriers.txt: Add needed ACCESS_ONCE() calls to memory-barriers.txt X-Git-Tag: v3.14-rc1~175^2~20 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2ecf810121c7eae34473b8fa108112036bc61127;p=pandora-kernel.git 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 Reviewed-by: Josh Triplett Reviewed-by: Peter Zijlstra Cc: Cc: Linus Torvalds Cc: Andrew Morton Link: http://lkml.kernel.org/r/1386799151-2219-1-git-send-email-paulmck@linux.vnet.ibm.com Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed