summaryrefslogtreecommitdiffstats
path: root/Documentation/memory-barriers.txt
diff options
context:
space:
mode:
Diffstat (limited to 'Documentation/memory-barriers.txt')
-rw-r--r--Documentation/memory-barriers.txt6
1 files changed, 3 insertions, 3 deletions
diff --git a/Documentation/memory-barriers.txt b/Documentation/memory-barriers.txt
index 13feb697271f..18fc860df1be 100644
--- a/Documentation/memory-barriers.txt
+++ b/Documentation/memory-barriers.txt
@@ -2383,9 +2383,7 @@ about the state (old or new) implies an SMP-conditional general memory barrier
2383explicit lock operations, described later). These include: 2383explicit lock operations, described later). These include:
2384 2384
2385 xchg(); 2385 xchg();
2386 cmpxchg();
2387 atomic_xchg(); atomic_long_xchg(); 2386 atomic_xchg(); atomic_long_xchg();
2388 atomic_cmpxchg(); atomic_long_cmpxchg();
2389 atomic_inc_return(); atomic_long_inc_return(); 2387 atomic_inc_return(); atomic_long_inc_return();
2390 atomic_dec_return(); atomic_long_dec_return(); 2388 atomic_dec_return(); atomic_long_dec_return();
2391 atomic_add_return(); atomic_long_add_return(); 2389 atomic_add_return(); atomic_long_add_return();
@@ -2398,7 +2396,9 @@ explicit lock operations, described later). These include:
2398 test_and_clear_bit(); 2396 test_and_clear_bit();
2399 test_and_change_bit(); 2397 test_and_change_bit();
2400 2398
2401 /* when succeeds (returns 1) */ 2399 /* when succeeds */
2400 cmpxchg();
2401 atomic_cmpxchg(); atomic_long_cmpxchg();
2402 atomic_add_unless(); atomic_long_add_unless(); 2402 atomic_add_unless(); atomic_long_add_unless();
2403 2403
2404These are used for such things as implementing ACQUIRE-class and RELEASE-class 2404These are used for such things as implementing ACQUIRE-class and RELEASE-class