summary refs log tree commit diff stats
path: root/hw/cpu/a9mpcore.c
diff options
context:
space:
mode:
authorPhilippe Mathieu-Daudé <philmd@linaro.org>2024-01-18 21:06:33 +0100
committerPeter Maydell <peter.maydell@linaro.org>2024-01-26 11:30:48 +0000
commit3896b6ffffe97aa387631a62948a51913f12f7e5 (patch)
treec7f67251be178f1c1b369891d8eb717b4dceec0e /hw/cpu/a9mpcore.c
parent9ab3ac5ab63efb497c535b60e4e52b63eaf1a104 (diff)
downloadfocaccia-qemu-3896b6ffffe97aa387631a62948a51913f12f7e5.tar.gz
focaccia-qemu-3896b6ffffe97aa387631a62948a51913f12f7e5.zip
hw/cpu/a9mpcore: Build it only once
hw/cpu/a9mpcore.c doesn't require "cpu.h" anymore.
By removing it, the unit become target agnostic:
we can build it once. Update meson.

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-id: 20240118200643.29037-13-philmd@linaro.org
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'hw/cpu/a9mpcore.c')
-rw-r--r--hw/cpu/a9mpcore.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/cpu/a9mpcore.c b/hw/cpu/a9mpcore.c
index d03f57e579..c30ef72c66 100644
--- a/hw/cpu/a9mpcore.c
+++ b/hw/cpu/a9mpcore.c
@@ -15,7 +15,7 @@
 #include "hw/irq.h"
 #include "hw/qdev-properties.h"
 #include "hw/core/cpu.h"
-#include "cpu.h"
+#include "target/arm/cpu-qom.h"
 
 #define A9_GIC_NUM_PRIORITY_BITS    5