Skip to content
Commit 19de9490 authored by Adrian Reber's avatar Adrian Reber Committed by Pavel Emelyanov
Browse files

zdtm: fix atomic_{sub, add}_return assembler for aarch64



Running the test suite on aarch64 showed two tests failing (static/fd
and transition/maps0007). Debugging showed that the
atomic_{sub,add}_return() functions did not return the value but the
lower 32bit of the address of that value.

Simply dereferencing the input solves the two mentioned test cases.

Signed-off-by: default avatarDmitry Safonov <dima@arista.com>
Signed-off-by: default avatarAdrian Reber <areber@redhat.com>
Signed-off-by: default avatarAndrei Vagin <avagin@virtuozzo.com>
parent 7e0bef54
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment