diff options
| author | Philippe Mathieu-Daudé <philmd@linaro.org> | 2023-09-18 09:56:14 +0200 |
|---|---|---|
| committer | Philippe Mathieu-Daudé <philmd@linaro.org> | 2023-11-07 12:13:27 +0100 |
| commit | f4f826c0e0c189869ef55e540a5dcbd90fe392bb (patch) | |
| tree | b4e36cbd005707fa397bf0272f969717eebd49bc /hw/core | |
| parent | 648625e628dde0b57628a2e9992dd4d77744355f (diff) | |
| download | focaccia-qemu-f4f826c0e0c189869ef55e540a5dcbd90fe392bb.tar.gz focaccia-qemu-f4f826c0e0c189869ef55e540a5dcbd90fe392bb.zip | |
accel/tcg: Declare tcg_flush_jmp_cache() in 'exec/tb-flush.h'
"exec/cpu-common.h" is meant to contain the declarations related to CPU usable with any accelerator / target combination. tcg_flush_jmp_cache() is specific to TCG, so restrict its declaration by moving it to "exec/tb-flush.h". Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org> Reviewed-by: Anton Johansson <anjo@rev.ng> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Message-Id: <20230918104153.24433-2-philmd@linaro.org>
Diffstat (limited to 'hw/core')
| -rw-r--r-- | hw/core/cpu-common.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/hw/core/cpu-common.c b/hw/core/cpu-common.c index bab8942c30..29c917c5dc 100644 --- a/hw/core/cpu-common.c +++ b/hw/core/cpu-common.c @@ -27,6 +27,7 @@ #include "qemu/main-loop.h" #include "exec/log.h" #include "exec/cpu-common.h" +#include "exec/tb-flush.h" #include "qemu/error-report.h" #include "qemu/qemu-print.h" #include "sysemu/tcg.h" |