rcutorture: Apply ACCESS_ONCE() to racy fullstop accesses
authorPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Fri, 31 Jan 2014 20:58:39 +0000 (12:58 -0800)
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Sun, 23 Feb 2014 17:03:16 +0000 (09:03 -0800)
Because the fullstop variable can be accessed while it is being updated,
this commit avoids any resulting compiler mischief through use of
ACCESS_ONCE() for non-initialization accesses to this shared variable.

Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Reviewed-by: Josh Triplett <josh@joshtriplett.org>
kernel/torture.c

Simple merge