qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH v4 10/21] hw: Do not include "exec/ioport.h" if


From: Marcel Apfelbaum
Subject: Re: [Qemu-devel] [PATCH v4 10/21] hw: Do not include "exec/ioport.h" if it is not necessary
Date: Tue, 29 May 2018 10:59:29 +0300
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.7.0



On 05/29/2018 02:27 AM, Philippe Mathieu-Daudé wrote:
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é <address@hidden>
---
  hw/acpi/pcihp.c | 1 -
  hw/acpi/piix4.c | 1 -
  2 files changed, 2 deletions(-)

diff --git a/hw/acpi/pcihp.c b/hw/acpi/pcihp.c
index 91c82fdc7a..80d42e12ff 100644
--- a/hw/acpi/pcihp.c
+++ b/hw/acpi/pcihp.c
@@ -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"
diff --git a/hw/acpi/piix4.c b/hw/acpi/piix4.c
index 8b703455b7..6404af5f33 100644
--- a/hw/acpi/piix4.c
+++ b/hw/acpi/piix4.c
@@ -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"

Reviewed-by: Marcel Apfelbaum<address@hidden>

Thanks,
Marcel




reply via email to

[Prev in Thread] Current Thread [Next in Thread]