aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilippe Mathieu-Daudé <philmd@linaro.org>2024-12-17 14:51:11 +0100
committerPhilippe Mathieu-Daudé <philmd@linaro.org>2024-12-20 17:44:57 +0100
commitf3adff92ce625ec1dc90d4764a8a470eee6b7eca (patch)
tree7877b6ef42b8c70bf85a4875f50874c41b4abbcc
parent0ec02378e69ef7a0e6eea068a44572a40fa31cb7 (diff)
downloadqemu-f3adff92ce625ec1dc90d4764a8a470eee6b7eca.zip
qemu-f3adff92ce625ec1dc90d4764a8a470eee6b7eca.tar.gz
qemu-f3adff92ce625ec1dc90d4764a8a470eee6b7eca.tar.bz2
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>
-rw-r--r--include/qemu/coroutine.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/qemu/coroutine.h b/include/qemu/coroutine.h
index ff30845..e545bbf 100644
--- a/include/qemu/coroutine.h
+++ b/include/qemu/coroutine.h
@@ -16,6 +16,7 @@
#define QEMU_COROUTINE_H
#include "qemu/coroutine-core.h"
+#include "qemu/atomic.h"
#include "qemu/queue.h"
#include "qemu/timer.h"