* fix typo in memory barrier docs
@ 2006-10-17 20:59 Paolo 'Blaisorblade' Giarrusso
0 siblings, 0 replies; only message in thread
From: Paolo 'Blaisorblade' Giarrusso @ 2006-10-17 20:59 UTC (permalink / raw)
To: Andrew Morton; +Cc: linux-kernel, Paolo 'Blaisorblade' Giarrusso
From: Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it>
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>
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>
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2006-10-17 20:59 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-10-17 20:59 fix typo in memory barrier docs Paolo 'Blaisorblade' Giarrusso
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®