arm: Remove unnecessary includes of hw/arm/arm.h
authorPeter Maydell <peter.maydell@linaro.org>
Thu, 23 May 2019 13:47:43 +0000 (14:47 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Thu, 23 May 2019 13:47:43 +0000 (14:47 +0100)
The hw/arm/arm.h header now only includes declarations relating
to boot.c code, so it is only needed by Arm board or SoC code.
Remove some unnecessary inclusions of it from target/arm files
and from hw/intc/armv7m_nvic.c.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Tested-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Message-id: 20190516163857.6430-3-peter.maydell@linaro.org

hw/intc/armv7m_nvic.c
target/arm/arm-semi.c
target/arm/cpu.c
target/arm/cpu64.c
target/arm/kvm.c
target/arm/kvm32.c
target/arm/kvm64.c

index 3a346a682a3f7a5dab70557eb80f1ba6ee0e0b2a..815e720cfabb16508f0ac49aaf77664e87208f7b 100644 (file)
@@ -16,7 +16,6 @@
 #include "cpu.h"
 #include "hw/sysbus.h"
 #include "qemu/timer.h"
-#include "hw/arm/arm.h"
 #include "hw/intc/armv7m_nvic.h"
 #include "target/arm/cpu.h"
 #include "exec/exec-all.h"
index 8b5fd7bc6e3a210d7a073e30c76b735cbf618b41..ddb94e0aba0aff89822ad4c1f5a383210221d317 100644 (file)
@@ -29,7 +29,6 @@
 #else
 #include "qemu-common.h"
 #include "exec/gdbstub.h"
-#include "hw/arm/arm.h"
 #include "qemu/cutils.h"
 #endif
 
index 8eee1d8c59aab24884d4148c5c2ed4450ac2d120..9b23ac2c935bbc3772a045bf1e235f1738dcd350 100644 (file)
@@ -30,7 +30,6 @@
 #if !defined(CONFIG_USER_ONLY)
 #include "hw/loader.h"
 #endif
-#include "hw/arm/arm.h"
 #include "sysemu/sysemu.h"
 #include "sysemu/hw_accel.h"
 #include "kvm_arm.h"
index 835f73cceb57b3d7bb9607a6df0e5e3630531fe4..0ec8cd41f19657afdffeebef1df2495d0092438c 100644 (file)
@@ -25,7 +25,6 @@
 #if !defined(CONFIG_USER_ONLY)
 #include "hw/loader.h"
 #endif
-#include "hw/arm/arm.h"
 #include "sysemu/sysemu.h"
 #include "sysemu/kvm.h"
 #include "kvm_arm.h"
index 599563461264459d27ce630947b469b786f50d07..fe4f461d4ef617a1257e071e72a442a5e991b64a 100644 (file)
@@ -23,7 +23,6 @@
 #include "cpu.h"
 #include "trace.h"
 #include "internals.h"
-#include "hw/arm/arm.h"
 #include "hw/pci/pci.h"
 #include "exec/memattrs.h"
 #include "exec/address-spaces.h"
index 327375f6252f47cdbb439871855c853505ed3f01..4e54e372a6688eb0312f9a999fe511191421e202 100644 (file)
@@ -20,7 +20,6 @@
 #include "sysemu/kvm.h"
 #include "kvm_arm.h"
 #include "internals.h"
-#include "hw/arm/arm.h"
 #include "qemu/log.h"
 
 static inline void set_feature(uint64_t *features, int feature)
index e3ba1492482fa4c06cb89d63e330e943d88512aa..998d21f399f4886cd25c703cd8d46c7cdbc51e34 100644 (file)
@@ -26,7 +26,6 @@
 #include "sysemu/kvm.h"
 #include "kvm_arm.h"
 #include "internals.h"
-#include "hw/arm/arm.h"
 
 static bool have_guest_debug;