criu/test/zdtm/lib/arch
Andrei Vagin 7fdbfba40a zdtm/atomic: atomic_inc should return the old value
00:24:30.269:    44: ERR: test.c:208: Test exited on unexpected signal

It's a correct name for this function. For example, we use this name
here criu/arch/ppc64/include/asm/atomic.h

And you can find the same set of functions here:
test/zdtm/lib/arch/aarch64/include/asm/atomic.h

I think this code is more readable (understandable) than just
return t - 1.

Signed-off-by: Andrew Vagin <avagin@virtuozzo.com>
Signed-off-by: Pavel Emelyanov <xemul@virtuozzo.com>
2016-05-06 14:39:27 +03:00
..
aarch64/include/asm zdtm: added the AArch64-specific implementation of bit operations 2014-04-11 15:19:21 +04:00
arm/include/asm zdtm/lock: add futex_add_and_wake and futex_wait_while_lt 2014-02-28 13:18:43 +04:00
ppc64/include/asm zdtm/atomic: atomic_inc should return the old value 2016-05-06 14:39:27 +03:00
x86/include/asm zdtm/lock: add futex_add_and_wake and futex_wait_while_lt 2014-02-28 13:18:43 +04:00