target/i386: Do not include "exec/ioport.h" if it is not necessary

Code change produced with:
    $ git grep '#include "exec/ioport.h"' target | \
      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-6-f4bug@amsat.org>
Acked-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
This commit is contained in:
Philippe Mathieu-Daudé 2018-05-28 20:27:03 -03:00 committed by Paolo Bonzini
parent 86b246534b
commit 383952e7c8
4 changed files with 0 additions and 4 deletions

View File

@ -27,7 +27,6 @@
#include "cpu.h" #include "cpu.h"
#include "exec/address-spaces.h" #include "exec/address-spaces.h"
#include "exec/exec-all.h" #include "exec/exec-all.h"
#include "exec/ioport.h"
#include "qemu-common.h" #include "qemu-common.h"
#include "hax-i386.h" #include "hax-i386.h"

View File

@ -66,7 +66,6 @@
#include "exec/address-spaces.h" #include "exec/address-spaces.h"
#include "exec/exec-all.h" #include "exec/exec-all.h"
#include "exec/ioport.h"
#include "hw/i386/apic_internal.h" #include "hw/i386/apic_internal.h"
#include "hw/boards.h" #include "hw/boards.h"
#include "qemu/main-loop.h" #include "qemu/main-loop.h"

View File

@ -27,7 +27,6 @@
#include <Hypervisor/hv_vmx.h> #include <Hypervisor/hv_vmx.h>
#include "exec/exec-all.h" #include "exec/exec-all.h"
#include "exec/ioport.h"
#include "hw/i386/apic_internal.h" #include "hw/i386/apic_internal.h"
#include "hw/boards.h" #include "hw/boards.h"
#include "qemu/main-loop.h" #include "qemu/main-loop.h"

View File

@ -40,7 +40,6 @@
#include "hw/i386/intel_iommu.h" #include "hw/i386/intel_iommu.h"
#include "hw/i386/x86-iommu.h" #include "hw/i386/x86-iommu.h"
#include "exec/ioport.h"
#include "hw/pci/pci.h" #include "hw/pci/pci.h"
#include "hw/pci/msi.h" #include "hw/pci/msi.h"
#include "hw/pci/msix.h" #include "hw/pci/msix.h"