D | atomic64_test.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 20 #define TEST(bit, op, c_op, val) \ argument 22 atomic##bit##_set(&v, v0); \ 24 atomic##bit##_##op(val, &v); \ 26 WARN(atomic##bit##_read(&v) != r, "%Lx != %Lx\n", \ 27 (unsigned long long)atomic##bit##_read(&v), \ 33 * @test should be a macro accepting parameters (bit, op, ...) 36 #define FAMILY_TEST(test, bit, op, args...) \ argument 38 test(bit, op, ##args); \ 39 test(bit, op##_acquire, ##args); \ [all …]
|