aboutsummaryrefslogtreecommitdiff
path: root/accel/stubs
diff options
context:
space:
mode:
authorThomas Huth <thuth@redhat.com>2021-04-16 19:13:13 +0200
committerLaurent Vivier <laurent@vivier.eu>2021-05-02 17:24:51 +0200
commit2068cabd3fb1f46dbdd8b24eeaded89a4c9d85e1 (patch)
tree0e81654d30815d42fb6bb95105a7e2f3e6ebc1b1 /accel/stubs
parentead62c75f618c072a3a18221fd03ae99ae923cca (diff)
Do not include cpu.h if it's not really necessary
Stop including cpu.h in files that don't need it. Signed-off-by: Thomas Huth <thuth@redhat.com> Message-Id: <20210416171314.2074665-4-thuth@redhat.com> Signed-off-by: Laurent Vivier <laurent@vivier.eu>
Diffstat (limited to 'accel/stubs')
-rw-r--r--accel/stubs/kvm-stub.c1
-rw-r--r--accel/stubs/tcg-stub.c1
2 files changed, 0 insertions, 2 deletions
diff --git a/accel/stubs/kvm-stub.c b/accel/stubs/kvm-stub.c
index 0f17acfac0..5b1d00a222 100644
--- a/accel/stubs/kvm-stub.c
+++ b/accel/stubs/kvm-stub.c
@@ -11,7 +11,6 @@
*/
#include "qemu/osdep.h"
-#include "cpu.h"
#include "sysemu/kvm.h"
#ifndef CONFIG_USER_ONLY
diff --git a/accel/stubs/tcg-stub.c b/accel/stubs/tcg-stub.c
index 2304606f8e..d8162673ae 100644
--- a/accel/stubs/tcg-stub.c
+++ b/accel/stubs/tcg-stub.c
@@ -11,7 +11,6 @@
*/
#include "qemu/osdep.h"
-#include "cpu.h"
#include "exec/exec-all.h"
void tb_flush(CPUState *cpu)