]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - Documentation/atomic_ops.txt
PCI: layerscape: Add support for LS1043a and LS2080a
[karo-tx-linux.git] / Documentation / atomic_ops.txt
index dab6da3382d9f0b5f3c1e9f6e3fafc0cc2535de2..b19fc34efdb17921af43bda0000b13dc82640451 100644 (file)
@@ -266,7 +266,9 @@ with the given old and new values. Like all atomic_xxx operations,
 atomic_cmpxchg will only satisfy its atomicity semantics as long as all
 other accesses of *v are performed through atomic_xxx operations.
 
-atomic_cmpxchg must provide explicit memory barriers around the operation.
+atomic_cmpxchg must provide explicit memory barriers around the operation,
+although if the comparison fails then no memory ordering guarantees are
+required.
 
 The semantics for atomic_cmpxchg are the same as those defined for 'cas'
 below.