Skip to contentSkip to conversation

fix typo in memory barrier docs

PATCH Paolo 'Blaisorblade' Giarrusso 1 participant 1 message Oct 17, 2006

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

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.

Documentation/memory-barriers.txt +1 -1
Index: 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>