Commit 3fda982c authored by Paolo 'Blaisorblade' Giarrusso's avatar Paolo 'Blaisorblade' Giarrusso Committed by Linus Torvalds
Browse files

[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: default avatarPaolo 'Blaisorblade' Giarrusso <>
Acked-by: default avatarDavid Howells <>
Signed-off-by: default avatarAndrew Morton <>
Signed-off-by: default avatarLinus Torvalds <>
parent 1a3e9ad1
...@@ -1898,7 +1898,7 @@ queue before processing any further requests: ...@@ -1898,7 +1898,7 @@ queue before processing any further requests:
smp_wmb(); smp_wmb();
<A:modify v=2> <C:busy> <A:modify v=2> <C:busy>
<C:queue v=2> <C:queue v=2>
p = &b; q = p; p = &v; q = p;
<D:request p> <D:request p>
<B:modify p=&v> <D:commit p=&v> <B:modify p=&v> <D:commit p=&v>
<D:read p> <D:read p>
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment