hw: Do not include "exec/address-spaces.h" if it is not necessary
commitab728275e48c7cd23f5f4df860f77a771125e3ac
authorPhilippe Mathieu-Daudé <f4bug@amsat.org>
Mon, 28 May 2018 23:27:09 +0000 (28 20:27 -0300)
committerPaolo Bonzini <pbonzini@redhat.com>
Fri, 1 Jun 2018 12:15:10 +0000 (1 14:15 +0200)
tree5be19234cebb7fa75a33a3b439d8af1cdc6e30b4
parent9c5900bce58a775e13cee6668a26c4d2cd4edfb1
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>
28 files changed:
hw/arm/bcm2836.c
hw/arm/xlnx-zcu102.c
hw/block/onenand.c
hw/block/pflash_cfi01.c
hw/block/pflash_cfi02.c
hw/char/mcf_uart.c
hw/char/serial.c
hw/char/sh_serial.c
hw/core/loader-fit.c
hw/core/platform-bus.c
hw/display/sm501.c
hw/m68k/mcf5206.c
hw/m68k/mcf_intc.c
hw/misc/arm_integrator_debug.c
hw/net/mcf_fec.c
hw/net/ne2000-isa.c
hw/pci-host/versatile.c
hw/riscv/riscv_htif.c
hw/sh4/sh7750.c
hw/timer/sh_timer.c
include/hw/arm/allwinner-a10.h
include/hw/arm/bcm2835_peripherals.h
include/hw/display/bcm2835_fb.h
include/hw/dma/bcm2835_dma.h
include/hw/misc/bcm2835_mbox.h
include/hw/misc/bcm2835_property.h
include/hw/sh4/sh_intc.h
include/hw/virtio/virtio-access.h