Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f92213ba authored by Steven Rostedt's avatar Steven Rostedt Committed by Linus Torvalds
Browse files

[PATCH] remove set_wmb - doc update



This patch removes the reference to set_wmb from memory-barriers.txt
since it shouldn't be used.

Signed-off-by: default avatarSteven Rostedt <rostedt@goodmis.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent bb129994
Loading
Loading
Loading
Loading
+2 −3
Original line number Diff line number Diff line
@@ -1015,10 +1015,9 @@ CPU from reordering them.
There are some more advanced barrier functions:

 (*) set_mb(var, value)
 (*) set_wmb(var, value)

     These assign the value to the variable and then insert at least a write
     barrier after it, depending on the function.  They aren't guaranteed to
     This assigns the value to the variable and then inserts at least a write
     barrier after it, depending on the function.  It isn't guaranteed to
     insert anything more than a compiler barrier in a UP compilation.