aboutsummaryrefslogtreecommitdiff
path: root/plugins
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 /plugins
parentead62c75f618c072a3a18221fd03ae99ae923cca (diff)
downloadqemu-2068cabd3fb1f46dbdd8b24eeaded89a4c9d85e1.zip
qemu-2068cabd3fb1f46dbdd8b24eeaded89a4c9d85e1.tar.gz
qemu-2068cabd3fb1f46dbdd8b24eeaded89a4c9d85e1.tar.bz2
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 'plugins')
-rw-r--r--plugins/api.c1
-rw-r--r--plugins/core.c1
-rw-r--r--plugins/loader.c1
3 files changed, 0 insertions, 3 deletions
diff --git a/plugins/api.c b/plugins/api.c
index 218e134..817c9b6 100644
--- a/plugins/api.c
+++ b/plugins/api.c
@@ -36,7 +36,6 @@
#include "qemu/osdep.h"
#include "qemu/plugin.h"
-#include "cpu.h"
#include "tcg/tcg.h"
#include "exec/exec-all.h"
#include "exec/ram_addr.h"
diff --git a/plugins/core.c b/plugins/core.c
index 93b595a..55d188a 100644
--- a/plugins/core.c
+++ b/plugins/core.c
@@ -23,7 +23,6 @@
#include "hw/core/cpu.h"
#include "exec/cpu-common.h"
-#include "cpu.h"
#include "exec/exec-all.h"
#include "exec/helper-proto.h"
#include "tcg/tcg.h"
diff --git a/plugins/loader.c b/plugins/loader.c
index 8550e61..05df403 100644
--- a/plugins/loader.c
+++ b/plugins/loader.c
@@ -27,7 +27,6 @@
#include "qemu/xxhash.h"
#include "qemu/plugin.h"
#include "hw/core/cpu.h"
-#include "cpu.h"
#include "exec/exec-all.h"
#ifndef CONFIG_USER_ONLY
#include "hw/boards.h"