diff options
-rw-r--r-- | Documentation/memory-barriers.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Documentation/memory-barriers.txt b/Documentation/memory-barriers.txt index e26058d3e253..c90922b9b294 100644 --- a/Documentation/memory-barriers.txt +++ b/Documentation/memory-barriers.txt | |||
@@ -232,7 +232,7 @@ And there are a number of things that _must_ or _must_not_ be assumed: | |||
232 | with memory references that are not protected by READ_ONCE() and | 232 | with memory references that are not protected by READ_ONCE() and |
233 | WRITE_ONCE(). Without them, the compiler is within its rights to | 233 | WRITE_ONCE(). Without them, the compiler is within its rights to |
234 | do all sorts of "creative" transformations, which are covered in | 234 | do all sorts of "creative" transformations, which are covered in |
235 | the Compiler Barrier section. | 235 | the COMPILER BARRIER section. |
236 | 236 | ||
237 | (*) It _must_not_ be assumed that independent loads and stores will be issued | 237 | (*) It _must_not_ be assumed that independent loads and stores will be issued |
238 | in the order given. This means that for: | 238 | in the order given. This means that for: |
@@ -818,7 +818,7 @@ In summary: | |||
818 | (*) Control dependencies require that the compiler avoid reordering the | 818 | (*) Control dependencies require that the compiler avoid reordering the |
819 | dependency into nonexistence. Careful use of READ_ONCE() or | 819 | dependency into nonexistence. Careful use of READ_ONCE() or |
820 | atomic{,64}_read() can help to preserve your control dependency. | 820 | atomic{,64}_read() can help to preserve your control dependency. |
821 | Please see the Compiler Barrier section for more information. | 821 | Please see the COMPILER BARRIER section for more information. |
822 | 822 | ||
823 | (*) Control dependencies pair normally with other types of barriers. | 823 | (*) Control dependencies pair normally with other types of barriers. |
824 | 824 | ||