summary refs log tree commit diff stats
path: root/linux-user/syscall.c
diff options
context:
space:
mode:
authorPhilippe Mathieu-Daudé <philmd@linaro.org>2025-01-02 18:55:03 +0100
committerPhilippe Mathieu-Daudé <philmd@linaro.org>2025-03-09 14:54:32 +0100
commitc9ce8a1ffdedbc55d107c4b5629eca5d1e219165 (patch)
treeafa9881139edf66ffc83fc3fd76b82ccaeea6d62 /linux-user/syscall.c
parentd9a4282c4b690e45d25c2b933f318bb41eeb271d (diff)
downloadfocaccia-qemu-c9ce8a1ffdedbc55d107c4b5629eca5d1e219165.tar.gz
focaccia-qemu-c9ce8a1ffdedbc55d107c4b5629eca5d1e219165.zip
linux-user: Only include 'exec/tb-flush.h' header when necessary
Very few source files require to access "exec/tb-flush.h"
declarations, and except a pair, they all include it
explicitly. No need to overload the generic "user-internals.h".

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Ilya Leoshkevich <iii@linux.ibm.com>
Reviewed-by: Pierrick Bouvier <pierrick.bouvier@linaro.org>
Message-Id: <20250102182521.65428-2-philmd@linaro.org>
Diffstat (limited to 'linux-user/syscall.c')
-rw-r--r--linux-user/syscall.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/linux-user/syscall.c b/linux-user/syscall.c
index 02ea4221c9..b32de763f7 100644
--- a/linux-user/syscall.c
+++ b/linux-user/syscall.c
@@ -26,6 +26,7 @@
 #include "tcg/startup.h"
 #include "target_mman.h"
 #include "exec/page-protection.h"
+#include "exec/tb-flush.h"
 #include "exec/translation-block.h"
 #include <elf.h>
 #include <endian.h>