commit | 9e7574601fb14aa829b3bbab43ab3044fa370d10 | [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> | Tue Aug 13 13:08:59 2013 -0700 |
tree | a5f838ec262fb97854a97fa5864bfd869fcb187e | |
parent | 13eb913c157fe24c1750fd619d80d4d384a61755 [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>