]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
memory-barriers: Retain barrier() in fold-to-zero example
authorPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Mon, 4 Aug 2014 18:49:34 +0000 (11:49 -0700)
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Sun, 7 Sep 2014 23:15:52 +0000 (16:15 -0700)
commitefdcd51a4d5bd355796b1a757ff0355bb09ed394
treec8b39a7b01980753ff864c7a28bc9ac0ae180701
parent5646f7acc95f14873f1ec715380c1c493b4243ce
memory-barriers: Retain barrier() in fold-to-zero example

The transformation in the fold-to-zero example incorrectly omits the
barrier() directive.  This commit therefore adds it back in.

Reported-by: Pranith Kumar <pranith@gatech.edu>
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Documentation/memory-barriers.txt