提交 383952e7 编写于 作者: P Philippe Mathieu-Daudé 提交者: Paolo Bonzini

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: NPhilippe Mathieu-Daudé <f4bug@amsat.org>
Message-Id: <20180528232719.4721-6-f4bug@amsat.org>
Acked-by: NMichael S. Tsirkin <mst@redhat.com>
Signed-off-by: NPaolo Bonzini <pbonzini@redhat.com>
上级 86b24653
...@@ -27,7 +27,6 @@ ...@@ -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"
......
...@@ -66,7 +66,6 @@ ...@@ -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"
......
...@@ -27,7 +27,6 @@ ...@@ -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"
......
...@@ -40,7 +40,6 @@ ...@@ -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"
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册