diff options
author | Richard Henderson <richard.henderson@linaro.org> | 2022-03-22 17:58:39 -0700 |
---|---|---|
committer | Laurent Vivier <laurent@vivier.eu> | 2022-03-23 16:53:17 +0100 |
commit | 330ea9d1d819680ac7501457220b8cd1c29f9d2f (patch) | |
tree | 3b45c6188c68a5c7683bc0da6e1387a8161d3e5f /chardev/baum.c | |
parent | 7f4f0d9ea87097a31b36bcc52b7368efed35593c (diff) | |
download | qemu-330ea9d1d819680ac7501457220b8cd1c29f9d2f.zip qemu-330ea9d1d819680ac7501457220b8cd1c29f9d2f.tar.gz qemu-330ea9d1d819680ac7501457220b8cd1c29f9d2f.tar.bz2 |
linux-user/arm: Implement __kernel_cmpxchg64 with host atomics
If CONFIG_ATOMIC64, we can use a host cmpxchg and provide
atomicity across processes; otherwise we have no choice but
to continue using start/end_exclusive.
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20220323005839.94327-4-richard.henderson@linaro.org>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
Diffstat (limited to 'chardev/baum.c')
0 files changed, 0 insertions, 0 deletions