summaryrefslogtreecommitdiff
path: root/tools/memory-model/litmus-tests/ISA2+pooncerelease+poacquirerelease+poacquireonce.litmus
diff options
context:
space:
mode:
authorPaul E. McKenney <paulmck@kernel.org>2020-11-05 13:20:56 -0800
committerPaul E. McKenney <paulmck@kernel.org>2020-11-06 17:25:16 -0800
commit1947bfcf81a905e84a58b423063e81034a90efed (patch)
treebea33fb0fa3ca7f74d7e86437c756149d233da21 /tools/memory-model/litmus-tests/ISA2+pooncerelease+poacquirerelease+poacquireonce.litmus
parent0a27ce6b6968866fa8e3bd70371d67752db7718f (diff)
downloadlinux-1947bfcf81a905e84a58b423063e81034a90efed.tar.gz
tools/memory-model: Add types to litmus tests
This commit adds type information for global variables in the litmus tests in order to allow easier use with klitmus7. Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
Diffstat (limited to 'tools/memory-model/litmus-tests/ISA2+pooncerelease+poacquirerelease+poacquireonce.litmus')
-rw-r--r--tools/memory-model/litmus-tests/ISA2+pooncerelease+poacquirerelease+poacquireonce.litmus6
1 files changed, 5 insertions, 1 deletions
diff --git a/tools/memory-model/litmus-tests/ISA2+pooncerelease+poacquirerelease+poacquireonce.litmus b/tools/memory-model/litmus-tests/ISA2+pooncerelease+poacquirerelease+poacquireonce.litmus
index 025b0462ec9b..7afd85672ccd 100644
--- a/tools/memory-model/litmus-tests/ISA2+pooncerelease+poacquirerelease+poacquireonce.litmus
+++ b/tools/memory-model/litmus-tests/ISA2+pooncerelease+poacquirerelease+poacquireonce.litmus
@@ -11,7 +11,11 @@ C ISA2+pooncerelease+poacquirerelease+poacquireonce
* (AKA non-rf) link, so release-acquire is all that is needed.
*)
-{}
+{
+ int x;
+ int y;
+ int z;
+}
P0(int *x, int *y)
{