diff options
author | Philippe Mathieu-Daudé <f4bug@amsat.org> | 2018-05-28 20:27:09 -0300 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2018-06-01 14:15:10 +0200 |
commit | ab728275e48c7cd23f5f4df860f77a771125e3ac (patch) | |
tree | 5be19234cebb7fa75a33a3b439d8af1cdc6e30b4 /hw/arm | |
parent | 9c5900bce58a775e13cee6668a26c4d2cd4edfb1 (diff) | |
download | qemu-ab728275e48c7cd23f5f4df860f77a771125e3ac.zip qemu-ab728275e48c7cd23f5f4df860f77a771125e3ac.tar.gz qemu-ab728275e48c7cd23f5f4df860f77a771125e3ac.tar.bz2 |
hw: Do not include "exec/address-spaces.h" if it is not necessary
Code change produced with:
$ git grep '#include "exec/address-spaces.h"' hw include/hw | \
cut -d: -f-1 | \
xargs egrep -L "(get_system_|address_space_)" | \
xargs sed -i.bak '/#include "exec\/address-spaces.h"/d'
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-Id: <20180528232719.4721-12-f4bug@amsat.org>
Acked-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'hw/arm')
-rw-r--r-- | hw/arm/bcm2836.c | 1 | ||||
-rw-r--r-- | hw/arm/xlnx-zcu102.c | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/hw/arm/bcm2836.c b/hw/arm/bcm2836.c index 3c4b44a..6805a7d 100644 --- a/hw/arm/bcm2836.c +++ b/hw/arm/bcm2836.c @@ -15,7 +15,6 @@ #include "hw/arm/bcm2836.h" #include "hw/arm/raspi_platform.h" #include "hw/sysbus.h" -#include "exec/address-spaces.h" /* Peripheral base address seen by the CPU */ #define BCM2836_PERI_BASE 0x3F000000 diff --git a/hw/arm/xlnx-zcu102.c b/hw/arm/xlnx-zcu102.c index b126cf1..c70278c 100644 --- a/hw/arm/xlnx-zcu102.c +++ b/hw/arm/xlnx-zcu102.c @@ -22,7 +22,6 @@ #include "hw/arm/xlnx-zynqmp.h" #include "hw/boards.h" #include "qemu/error-report.h" -#include "exec/address-spaces.h" #include "qemu/log.h" #include "sysemu/qtest.h" |