diff options
Diffstat (limited to 'Documentation/litmus-tests/atomic/cmpxchg-fail-unordered-1.litmus')
-rw-r--r-- | Documentation/litmus-tests/atomic/cmpxchg-fail-unordered-1.litmus | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Documentation/litmus-tests/atomic/cmpxchg-fail-unordered-1.litmus b/Documentation/litmus-tests/atomic/cmpxchg-fail-unordered-1.litmus index a727ce23b1a6..39ea1f56a28d 100644 --- a/Documentation/litmus-tests/atomic/cmpxchg-fail-unordered-1.litmus +++ b/Documentation/litmus-tests/atomic/cmpxchg-fail-unordered-1.litmus @@ -23,6 +23,7 @@ P0(int *x, int *y, int *z) P1(int *x, int *y, int *z) { int r0; + int r1; WRITE_ONCE(*y, 1); r1 = cmpxchg(z, 1, 0); |