diff options
author | Thomas Huth | 2022-03-15 15:41:07 +0100 |
---|---|---|
committer | Richard Henderson | 2022-04-20 21:12:47 +0200 |
commit | 55d71e0b784e03dbd15bc13d75af88ed5340fde8 (patch) | |
tree | 30849f01429c18b9e4e035589987f0387c8ea632 /linux-user | |
parent | Merge tag 'pull-fixes-for-7.1-200422-1' of https://github.com/stsquad/qemu in... (diff) | |
download | qemu-55d71e0b784e03dbd15bc13d75af88ed5340fde8.tar.gz qemu-55d71e0b784e03dbd15bc13d75af88ed5340fde8.tar.xz qemu-55d71e0b784e03dbd15bc13d75af88ed5340fde8.zip |
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 'linux-user')
-rw-r--r-- | linux-user/main.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/linux-user/main.c b/linux-user/main.c index fbc9bcfd5f..f1711b82ec 100644 --- a/linux-user/main.c +++ b/linux-user/main.c @@ -21,7 +21,6 @@ #include "qemu-common.h" #include "qemu/units.h" #include "qemu/accel.h" -#include "sysemu/tcg.h" #include "qemu-version.h" #include <sys/syscall.h> #include <sys/resource.h> |