]> git.proxmox.com Git - mirror_qemu.git/commitdiff
hw: Do not include "exec/ioport.h" if it is not necessary
authorPhilippe Mathieu-Daudé <f4bug@amsat.org>
Mon, 28 May 2018 23:27:08 +0000 (20:27 -0300)
committerPaolo Bonzini <pbonzini@redhat.com>
Fri, 1 Jun 2018 12:15:10 +0000 (14:15 +0200)
Code change produced with:
    $ git grep '#include "exec/ioport.h"' hw | \
      cut -d: -f-1 | \
      xargs egrep -Li "(portio|cpu_(in|out).\()" | \
      xargs sed -i.bak '/#include "exec\/ioport.h"/d'

Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-Id: <20180528232719.4721-11-f4bug@amsat.org>
Acked-by: Michael S. Tsirkin <mst@redhat.com>
Reviewed-by: Marcel Apfelbaum<marcel.apfelbaum@gmail.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
hw/acpi/pcihp.c
hw/acpi/piix4.c

index 91c82fdc7a1b872c7327c899f13cace3f27447e3..80d42e12ff740893340041b2bc5aad55d1eabf46 100644 (file)
@@ -32,7 +32,6 @@
 #include "hw/pci/pci.h"
 #include "hw/acpi/acpi.h"
 #include "sysemu/sysemu.h"
-#include "exec/ioport.h"
 #include "exec/address-spaces.h"
 #include "hw/pci/pci_bus.h"
 #include "qapi/error.h"
index 8b703455b74af4b68c4a5868d3b48280de4454f6..6404af5f33876bd37a38ff5c98afe9e907a2e8c0 100644 (file)
@@ -28,7 +28,6 @@
 #include "sysemu/sysemu.h"
 #include "qapi/error.h"
 #include "qemu/range.h"
-#include "exec/ioport.h"
 #include "hw/nvram/fw_cfg.h"
 #include "exec/address-spaces.h"
 #include "hw/acpi/piix4.h"