lkml.org 
[lkml]   [2006]   [Oct]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subjectfix typo in memory barrier docs
Date
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>
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
\
 
 \ /
  Last update: 2006-10-17 23:03    [W:0.055 / U:0.024 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site