commit | a9b6c86a009ae67b525d94d2040c176ce639fb9a | [log] [tgz] |
---|---|---|
author | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | Tue Jul 02 15:24:09 2013 -0700 |
committer | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | Sun Aug 18 17:20:14 2013 -0700 |
tree | 58ddb29830df06a0a87524f4514c299bb22988c7 | |
parent | d794636f20da1fc405515cfe419669bd733ff81e [diff] |
doc: Fix memory-barrier control-dependency example Each control-dependency example needs its barriers between the "if" condition and the body of the "if" because a control dependency is a dependency induced by a branch. This commit makes the needed adjustment. Reported-by: Yongming Shen <symingz@gmail.com> Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com> Reviewed-by: Josh Triplett <josh@joshtriplett.org>