aboutsummaryrefslogtreecommitdiff
path: root/hw/intc
diff options
context:
space:
mode:
authorPhilippe Mathieu-Daudé <philmd@linaro.org>2024-01-29 18:05:29 +0100
committerMichael Tokarev <mjt@tls.msk.ru>2024-01-30 21:20:20 +0300
commit0a77a76f55e8a9d84082ebe7eaab443db68c7783 (patch)
tree9df0b53a0ab59d76e62b21cfee6c04afa9fea3bc /hw/intc
parentcd25f5d38379f3b235da1d3cbc32c208654383d6 (diff)
downloadqemu-0a77a76f55e8a9d84082ebe7eaab443db68c7783.zip
qemu-0a77a76f55e8a9d84082ebe7eaab443db68c7783.tar.gz
qemu-0a77a76f55e8a9d84082ebe7eaab443db68c7783.tar.bz2
hw/intc/xics: Include missing 'cpu.h' header
Include missing headers in order to avoid when refactoring unrelated headers: hw/intc/xics.c: In function 'icp_realize': hw/intc/xics.c:304:5: error: unknown type name 'PowerPCCPU' 304 | PowerPCCPU *cpu; | ^~~~~~~~~~ Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org> Reviewed-by: Thomas Huth <thuth@redhat.com> Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
Diffstat (limited to 'hw/intc')
-rw-r--r--hw/intc/xics.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/hw/intc/xics.c b/hw/intc/xics.c
index 8b25787..700abfa 100644
--- a/hw/intc/xics.c
+++ b/hw/intc/xics.c
@@ -40,6 +40,7 @@
#include "hw/irq.h"
#include "sysemu/kvm.h"
#include "sysemu/reset.h"
+#include "target/ppc/cpu.h"
void icp_pic_print_info(ICPState *icp, Monitor *mon)
{