diff options
author | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | 2015-05-19 04:27:42 +0300 |
---|---|---|
committer | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | 2015-07-16 00:43:11 +0300 |
commit | 57aecae950c55ef50934640794160cd118e73256 (patch) | |
tree | 22d4ab240a4428939983bb885bc48717c6600687 /Documentation/memory-barriers.txt | |
parent | 297f739938908a4262603314576e32ee7375296c (diff) | |
download | linux-57aecae950c55ef50934640794160cd118e73256.tar.xz |
documentation: Fix variable-name typo in memory-barriers.txt
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Diffstat (limited to 'Documentation/memory-barriers.txt')
-rw-r--r-- | Documentation/memory-barriers.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Documentation/memory-barriers.txt b/Documentation/memory-barriers.txt index 13feb697271f..3d06f98b2ff2 100644 --- a/Documentation/memory-barriers.txt +++ b/Documentation/memory-barriers.txt @@ -746,7 +746,7 @@ You must also be careful not to rely too much on boolean short-circuit evaluation. Consider this example: q = READ_ONCE_CTRL(a); - if (a || 1 > 0) + if (q || 1 > 0) ACCESS_ONCE(b) = 1; Because the first condition cannot fault and the second condition is |