Skip to content

Commit

Permalink
hw/intc/xics: Include missing 'cpu.h' header
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
philmd authored and Michael Tokarev committed Jan 30, 2024
1 parent cd25f5d commit 0a77a76
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions hw/intc/xics.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
Expand Down

0 comments on commit 0a77a76

Please sign in to comment.