aboutsummaryrefslogtreecommitdiff
path: root/target
diff options
context:
space:
mode:
authorPhilippe Mathieu-Daudé <philmd@linaro.org>2023-06-27 13:51:23 +0200
committerDaniel Henrique Barboza <danielhb413@gmail.com>2023-07-07 04:49:14 -0300
commitd0815cb808fe0cebe04aba5339e3f5cfe08cb4d7 (patch)
tree2ff1034aa50f25655cb4d55c29f1aaea2b4305cc /target
parentbe67dd4afea13b3a18fab142082a40a59df439ce (diff)
downloadqemu-d0815cb808fe0cebe04aba5339e3f5cfe08cb4d7.zip
qemu-d0815cb808fe0cebe04aba5339e3f5cfe08cb4d7.tar.gz
qemu-d0815cb808fe0cebe04aba5339e3f5cfe08cb4d7.tar.bz2
target/ppc: Restrict 'kvm_ppc.h' to sysemu in cpu_init.c
User emulation shouldn't need any of the KVM prototypes declared in "kvm_ppc.h". Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org> Reviewed-by: Cédric Le Goater <clg@kaod.org> Reviewed-by: Greg Kurz <groug@kaod.org> Message-ID: <20230627115124.19632-6-philmd@linaro.org> Signed-off-by: Daniel Henrique Barboza <danielhb413@gmail.com>
Diffstat (limited to 'target')
-rw-r--r--target/ppc/cpu_init.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/ppc/cpu_init.c b/target/ppc/cpu_init.c
index 6ac1765..02b7aad 100644
--- a/target/ppc/cpu_init.c
+++ b/target/ppc/cpu_init.c
@@ -21,7 +21,6 @@
#include "qemu/osdep.h"
#include "disas/dis-asm.h"
#include "gdbstub/helpers.h"
-#include "kvm_ppc.h"
#include "sysemu/cpus.h"
#include "sysemu/hw_accel.h"
#include "sysemu/tcg.h"
@@ -49,6 +48,7 @@
#ifndef CONFIG_USER_ONLY
#include "hw/boards.h"
#include "hw/intc/intc.h"
+#include "kvm_ppc.h"
#endif
/* #define PPC_DEBUG_SPR */