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>
This commit is contained in:
Philippe Mathieu-Daudé 2025-01-02 18:55:03 +01:00
parent d9a4282c4b
commit c9ce8a1ffd
3 changed files with 2 additions and 1 deletions

View file

@ -21,6 +21,7 @@
#include "trace.h" #include "trace.h"
#include "exec/log.h" #include "exec/log.h"
#include "exec/page-protection.h" #include "exec/page-protection.h"
#include "exec/tb-flush.h"
#include "exec/translation-block.h" #include "exec/translation-block.h"
#include "qemu.h" #include "qemu.h"
#include "user/page-protection.h" #include "user/page-protection.h"

View file

@ -26,6 +26,7 @@
#include "tcg/startup.h" #include "tcg/startup.h"
#include "target_mman.h" #include "target_mman.h"
#include "exec/page-protection.h" #include "exec/page-protection.h"
#include "exec/tb-flush.h"
#include "exec/translation-block.h" #include "exec/translation-block.h"
#include <elf.h> #include <elf.h>
#include <endian.h> #include <endian.h>

View file

@ -20,7 +20,6 @@
#include "user/thunk.h" #include "user/thunk.h"
#include "exec/exec-all.h" #include "exec/exec-all.h"
#include "exec/tb-flush.h"
#include "qemu/log.h" #include "qemu/log.h"
extern char *exec_path; extern char *exec_path;