summaryrefslogtreecommitdiffstats
path: root/Documentation/memory-barriers.txt
diff options
context:
space:
mode:
authorPaolo 'Blaisorblade' Giarrusso2006-10-20 08:28:19 +0200
committerLinus Torvalds2006-10-20 19:26:35 +0200
commit3fda982c501c6a8baa3fa79aaea1bfa7bb2a5def (patch)
treed80a418b92d04f6a78b690d3a9e1c1c69fd49d7c /Documentation/memory-barriers.txt
parent[PATCH] uml: MODE_TT is bust (diff)
downloadkernel-qcow2-linux-3fda982c501c6a8baa3fa79aaea1bfa7bb2a5def.tar.gz
kernel-qcow2-linux-3fda982c501c6a8baa3fa79aaea1bfa7bb2a5def.tar.xz
kernel-qcow2-linux-3fda982c501c6a8baa3fa79aaea1bfa7bb2a5def.zip
[PATCH] fix typo in memory barrier docs
Fix cut'n'paste typo - &a and &b are used in other examples, in this one the doc uses &u and &v. Signed-off-by: Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it> Acked-by: David Howells <dhowells@redhat.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'Documentation/memory-barriers.txt')
-rw-r--r--Documentation/memory-barriers.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/Documentation/memory-barriers.txt b/Documentation/memory-barriers.txt
index 994355b0cd19..7f790f66ec68 100644
--- a/Documentation/memory-barriers.txt
+++ b/Documentation/memory-barriers.txt
@@ -1898,7 +1898,7 @@ queue before processing any further requests:
smp_wmb();
<A:modify v=2> <C:busy>
<C:queue v=2>
- p = &b; q = p;
+ p = &v; q = p;
<D:request p>
<B:modify p=&v> <D:commit p=&v>
<D:read p>