2006-10-17 20:59:52

by Blaisorblade

[permalink] [raw]
Subject: fix typo in memory barrier docs

From: Paolo 'Blaisorblade' Giarrusso <[email protected]>

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 <[email protected]>
Index: linux-2.6.git/Documentation/memory-barriers.txt
===================================================================
--- linux-2.6.git.orig/Documentation/memory-barriers.txt
+++ linux-2.6.git/Documentation/memory-barriers.txt
@@ -1898,7 +1898,7 @@ queue before processing any further requ
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>