diff options
| author | Philippe Mathieu-Daudé <philmd@linaro.org> | 2024-01-29 18:05:29 +0100 |
|---|---|---|
| committer | Michael Tokarev <mjt@tls.msk.ru> | 2024-01-30 21:20:20 +0300 |
| commit | 0a77a76f55e8a9d84082ebe7eaab443db68c7783 (patch) | |
| tree | 9df0b53a0ab59d76e62b21cfee6c04afa9fea3bc /hw/intc/xics.c | |
| parent | cd25f5d38379f3b235da1d3cbc32c208654383d6 (diff) | |
| download | focaccia-qemu-0a77a76f55e8a9d84082ebe7eaab443db68c7783.tar.gz focaccia-qemu-0a77a76f55e8a9d84082ebe7eaab443db68c7783.zip | |
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/xics.c')
| -rw-r--r-- | hw/intc/xics.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/hw/intc/xics.c b/hw/intc/xics.c index 8b25787227..700abfa7a6 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) { |