diff options
author | Philippe Mathieu-Daudé <philmd@linaro.org> | 2025-01-02 18:55:03 +0100 |
---|---|---|
committer | Philippe Mathieu-Daudé <philmd@linaro.org> | 2025-03-09 14:54:32 +0100 |
commit | c9ce8a1ffdedbc55d107c4b5629eca5d1e219165 (patch) | |
tree | afa9881139edf66ffc83fc3fd76b82ccaeea6d62 | |
parent | d9a4282c4b690e45d25c2b933f318bb41eeb271d (diff) | |
download | qemu-c9ce8a1ffdedbc55d107c4b5629eca5d1e219165.zip qemu-c9ce8a1ffdedbc55d107c4b5629eca5d1e219165.tar.gz qemu-c9ce8a1ffdedbc55d107c4b5629eca5d1e219165.tar.bz2 |
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>
-rw-r--r-- | linux-user/mmap.c | 1 | ||||
-rw-r--r-- | linux-user/syscall.c | 1 | ||||
-rw-r--r-- | linux-user/user-internals.h | 1 |
3 files changed, 2 insertions, 1 deletions
diff --git a/linux-user/mmap.c b/linux-user/mmap.c index 6828b17..d1f36e6 100644 --- a/linux-user/mmap.c +++ b/linux-user/mmap.c @@ -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" diff --git a/linux-user/syscall.c b/linux-user/syscall.c index 02ea422..b32de76 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> diff --git a/linux-user/user-internals.h b/linux-user/user-internals.h index b9b05c1..4aa253b 100644 --- a/linux-user/user-internals.h +++ b/linux-user/user-internals.h @@ -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; |