Skip to content

Commit 5ef0a07

Browse files
akiykspaulmckrcu
authored andcommitted
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 <[email protected]> Reported-by: Andrea Parri <[email protected]> Acked-by: Andrea Parri <[email protected]> Signed-off-by: Akira Yokosawa <[email protected]> Signed-off-by: Paul E. McKenney <[email protected]>
1 parent 2bfa5c6 commit 5ef0a07

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

Documentation/litmus-tests/README

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ Atomic-RMW+mb__after_atomic-is-stronger-than-acquire.litmus
1919

2020
Atomic-RMW-ops-are-atomic-WRT-atomic_set.litmus
2121
Test that atomic_set() cannot break the atomicity of atomic RMWs.
22+
NOTE: Require herd7 7.56 or later which supports "(void)expr".
2223

2324

2425
RCU (/rcu directory)

Documentation/litmus-tests/atomic/Atomic-RMW-ops-are-atomic-WRT-atomic_set.litmus

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ C Atomic-RMW-ops-are-atomic-WRT-atomic_set
44
* Result: Never
55
*
66
* Test that atomic_set() cannot break the atomicity of atomic RMWs.
7+
* NOTE: This requires herd7 7.56 or later which supports "(void)expr".
78
*)
89

910
{

0 commit comments

Comments
 (0)