aboutsummaryrefslogtreecommitdiff
path: root/rust/qemu-api/src/timer.rs
diff options
context:
space:
mode:
authorPhilippe Mathieu-Daudé <philmd@linaro.org>2024-12-12 15:10:18 +0100
committerRichard Henderson <richard.henderson@linaro.org>2025-03-08 09:35:06 -0800
commit67ba7439481d61bc8482ff2ea436f74a575e371a (patch)
treed0452932743972d31923321441450c829b1efeed /rust/qemu-api/src/timer.rs
parent883cc6c5789b4210284241e7a2742c67f98e8843 (diff)
downloadqemu-67ba7439481d61bc8482ff2ea436f74a575e371a.zip
qemu-67ba7439481d61bc8482ff2ea436f74a575e371a.tar.gz
qemu-67ba7439481d61bc8482ff2ea436f74a575e371a.tar.bz2
qemu/atomic128: Include missing 'qemu/atomic.h' header
qatomic_cmpxchg__nocheck() is declared in "qemu/atomic.h". Include it in order to avoid when refactoring unrelated headers: In file included from ../../accel/tcg/tcg-runtime-gvec.c:22: In file included from include/exec/helper-proto-common.h:10: In file included from include/qemu/atomic128.h:61: host/include/generic/host/atomic128-cas.h.inc:23:11: error: call to undeclared function 'qatomic_cmpxchg__nocheck'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 23 | r.i = qatomic_cmpxchg__nocheck(ptr_align, c.i, n.i); | ^ 1 error generated. Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Signed-off-by: Richard Henderson <richard.henderson@linaro.org> Message-ID: <20241212141018.59428-4-philmd@linaro.org>
Diffstat (limited to 'rust/qemu-api/src/timer.rs')
0 files changed, 0 insertions, 0 deletions