diff options
author | Thomas Huth <thuth@redhat.com> | 2022-03-15 15:41:07 +0100 |
---|---|---|
committer | Richard Henderson <richard.henderson@linaro.org> | 2022-04-20 12:12:47 -0700 |
commit | 55d71e0b784e03dbd15bc13d75af88ed5340fde8 (patch) | |
tree | 30849f01429c18b9e4e035589987f0387c8ea632 /accel/tcg | |
parent | 2d20a57453f6a206938cbbf77bed0b378c806c1f (diff) | |
download | qemu-55d71e0b784e03dbd15bc13d75af88ed5340fde8.zip qemu-55d71e0b784e03dbd15bc13d75af88ed5340fde8.tar.gz qemu-55d71e0b784e03dbd15bc13d75af88ed5340fde8.tar.bz2 |
Don't include sysemu/tcg.h if it is not necessary
This header only defines the tcg_allowed variable and the tcg_enabled()
function - which are not required in many files that include this
header. Drop the #include statement there.
Signed-off-by: Thomas Huth <thuth@redhat.com>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
Message-Id: <20220315144107.1012530-1-thuth@redhat.com>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'accel/tcg')
-rw-r--r-- | accel/tcg/hmp.c | 1 | ||||
-rw-r--r-- | accel/tcg/tcg-accel-ops-icount.c | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/accel/tcg/hmp.c b/accel/tcg/hmp.c index d2ea352..bb67941 100644 --- a/accel/tcg/hmp.c +++ b/accel/tcg/hmp.c @@ -4,7 +4,6 @@ #include "qapi/qapi-commands-machine.h" #include "exec/exec-all.h" #include "monitor/monitor.h" -#include "sysemu/tcg.h" static void hmp_tcg_register(void) { diff --git a/accel/tcg/tcg-accel-ops-icount.c b/accel/tcg/tcg-accel-ops-icount.c index 6436cd9..24520ea 100644 --- a/accel/tcg/tcg-accel-ops-icount.c +++ b/accel/tcg/tcg-accel-ops-icount.c @@ -24,7 +24,6 @@ */ #include "qemu/osdep.h" -#include "sysemu/tcg.h" #include "sysemu/replay.h" #include "sysemu/cpu-timers.h" #include "qemu/main-loop.h" |