]> git.baikalelectronics.ru Git - kernel.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)
commit07b60b7deff917a8d74daf6e1c24e98dfdbce336
treec8b39a7b01980753ff864c7a28bc9ac0ae180701
parent21df57d5c4ec30afd20dfb740233a6893c27823b
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