From 0ec02378e69ef7a0e6eea068a44572a40fa31cb7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= Date: Tue, 17 Dec 2024 14:51:01 +0100 Subject: exec/translation-block: Include missing 'qemu/atomic.h' header MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit When moving tb_cflags() in commit 88d4b5138a8 ("tcg: Make tb_cflags() usable from target-agnostic code") we forgot to include "qemu/atomic.h", which declares qatomic_read(). Explicitly include it now to avoid issue when refactoring unrelated headers. Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Richard Henderson Acked-by: Ilya Leoshkevich Message-Id: <20241217141326.98947-2-philmd@linaro.org> --- include/exec/translation-block.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include/exec/translation-block.h') diff --git a/include/exec/translation-block.h b/include/exec/translation-block.h index b99afb0..81299b7 100644 --- a/include/exec/translation-block.h +++ b/include/exec/translation-block.h @@ -7,6 +7,7 @@ #ifndef EXEC_TRANSLATION_BLOCK_H #define EXEC_TRANSLATION_BLOCK_H +#include "qemu/atomic.h" #include "qemu/thread.h" #include "exec/cpu-common.h" #include "exec/vaddr.h" -- cgit v1.1