summaryrefslogtreecommitdiff
path: root/Documentation/litmus-tests/atomic
diff options
context:
space:
mode:
authorAkira Yokosawa <akiyks@gmail.com>2020-06-24 00:59:26 +0300
committerPaul E. McKenney <paulmck@kernel.org>2020-06-29 22:05:18 +0300
commit5ef0a07a7928539d46fdb163acfad28c6d877a89 (patch)
tree3ddb0abfb0bed000e8c608ad6d5ed3dd18fd0683 /Documentation/litmus-tests/atomic
parent2bfa5c62debe43e3779e03bfc66b75ab72098db1 (diff)
downloadlinux-5ef0a07a7928539d46fdb163acfad28c6d877a89.tar.xz
Documentation/litmus-tests: Add note on herd7 7.56 in atomic litmus test
herdtools 7.56 has enhanced herd7's C parser so that the "(void)expr" construct in Atomic-RMW-ops-are-atomic-WRT-atomic_set.litmus is accepted. This is independent of LKMM's cat model, so mention the required version in the header of the litmus test and its entry in README. CC: Boqun Feng <boqun.feng@gmail.com> Reported-by: Andrea Parri <parri.andrea@gmail.com> Acked-by: Andrea Parri <parri.andrea@gmail.com> Signed-off-by: Akira Yokosawa <akiyks@gmail.com> Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
Diffstat (limited to 'Documentation/litmus-tests/atomic')
-rw-r--r--Documentation/litmus-tests/atomic/Atomic-RMW-ops-are-atomic-WRT-atomic_set.litmus1
1 files changed, 1 insertions, 0 deletions
diff --git a/Documentation/litmus-tests/atomic/Atomic-RMW-ops-are-atomic-WRT-atomic_set.litmus b/Documentation/litmus-tests/atomic/Atomic-RMW-ops-are-atomic-WRT-atomic_set.litmus
index 49385314d911..ffd4d3e79c4a 100644
--- a/Documentation/litmus-tests/atomic/Atomic-RMW-ops-are-atomic-WRT-atomic_set.litmus
+++ b/Documentation/litmus-tests/atomic/Atomic-RMW-ops-are-atomic-WRT-atomic_set.litmus
@@ -4,6 +4,7 @@ C Atomic-RMW-ops-are-atomic-WRT-atomic_set
* Result: Never
*
* Test that atomic_set() cannot break the atomicity of atomic RMWs.
+ * NOTE: This requires herd7 7.56 or later which supports "(void)expr".
*)
{