]> xenbits.xensource.com Git - people/aperard/qemu-dm.git/commitdiff
linux-user: Only include 'exec/tb-flush.h' header when necessary
authorPhilippe Mathieu-Daudé <philmd@linaro.org>
Thu, 2 Jan 2025 17:55:03 +0000 (18:55 +0100)
committerPhilippe Mathieu-Daudé <philmd@linaro.org>
Sun, 9 Mar 2025 13:54:32 +0000 (14:54 +0100)
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>

linux-user/mmap.c
linux-user/syscall.c
linux-user/user-internals.h

index 6828b17a63faf495b59031cd9d2ec10c88c29847..d1f36e6f16ba805ee66363ec7b5e71579290c57e 100644 (file)
@@ -21,6 +21,7 @@
 #include "trace.h"
 #include "exec/log.h"
 #include "exec/page-protection.h"
+#include "exec/tb-flush.h"
 #include "exec/translation-block.h"
 #include "qemu.h"
 #include "user/page-protection.h"
index 02ea4221c96d957db8709e5abd05e51d5a42a021..b32de763f7e7885d0f23248d457d8a30b2095cb6 100644 (file)
@@ -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>
index b9b05c1d11f28544496dcc4e5f642221330675f6..4aa253b5663600d2fd8081d26cd7fea004d02e85 100644 (file)
@@ -20,7 +20,6 @@
 
 #include "user/thunk.h"
 #include "exec/exec-all.h"
-#include "exec/tb-flush.h"
 #include "qemu/log.h"
 
 extern char *exec_path;