]> git.ipfire.org Git - thirdparty/qemu.git/commit
qemu/coroutine: Include missing 'qemu/atomic.h' header
authorPhilippe Mathieu-Daudé <philmd@linaro.org>
Tue, 17 Dec 2024 13:51:11 +0000 (14:51 +0100)
committerPhilippe Mathieu-Daudé <philmd@linaro.org>
Fri, 20 Dec 2024 16:44:57 +0000 (17:44 +0100)
commitf3adff92ce625ec1dc90d4764a8a470eee6b7eca
tree7877b6ef42b8c70bf85a4875f50874c41b4abbcc
parent0ec02378e69ef7a0e6eea068a44572a40fa31cb7
qemu/coroutine: Include missing 'qemu/atomic.h' header

Commit 944f3d5dd21 ("coroutine: Add qemu_co_mutex_assert_locked")
added an inline method which uses qatomic_read(), itself declared
in "qemu/atomic.h". Explicitly include it now to avoid issue when
refactoring unrelated headers.

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Acked-by: Ilya Leoshkevich <iii@linux.ibm.com>
Message-Id: <20241217141326.98947-3-philmd@linaro.org>
include/qemu/coroutine.h