documentation: atomic_add_unless() doesn't imply mb() on failure
[pandora-kernel.git] / Documentation / memory-barriers.txt
index 4e17beb..1f506f7 100644 (file)
@@ -1493,7 +1493,7 @@ explicit lock operations, described later).  These include:
        atomic_dec_and_test();
        atomic_sub_and_test();
        atomic_add_negative();
-       atomic_add_unless();
+       atomic_add_unless();    /* when succeeds (returns 1) */
        test_and_set_bit();
        test_and_clear_bit();
        test_and_change_bit();