From: Peter Maydell Date: Tue, 26 Jan 2016 18:17:19 +0000 (+0000) Subject: hw/intc: Clean up includes X-Git-Tag: v2.7.1~600 X-Git-Url: https://git.proxmox.com/?a=commitdiff_plain;h=90191d07a6c0480802dfcaee99328b1c5e520579;p=mirror_qemu.git hw/intc: Clean up includes Clean up includes so that osdep.h is included first and headers which it implies are not included manually. This commit was created with scripts/clean-includes. Signed-off-by: Peter Maydell Message-id: 1453832250-766-27-git-send-email-peter.maydell@linaro.org --- diff --git a/hw/intc/etraxfs_pic.c b/hw/intc/etraxfs_pic.c index bd588681ef..48f9477065 100644 --- a/hw/intc/etraxfs_pic.c +++ b/hw/intc/etraxfs_pic.c @@ -22,6 +22,7 @@ * THE SOFTWARE. */ +#include "qemu/osdep.h" #include "hw/sysbus.h" #include "hw/hw.h" //#include "pc.h" diff --git a/hw/intc/heathrow_pic.c b/hw/intc/heathrow_pic.c index 9ff3119edc..171f5ed814 100644 --- a/hw/intc/heathrow_pic.c +++ b/hw/intc/heathrow_pic.c @@ -22,6 +22,7 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN * THE SOFTWARE. */ +#include "qemu/osdep.h" #include "hw/hw.h" #include "hw/ppc/mac.h" diff --git a/hw/intc/i8259.c b/hw/intc/i8259.c index 0f5c0259ac..6f3a86350c 100644 --- a/hw/intc/i8259.c +++ b/hw/intc/i8259.c @@ -21,6 +21,7 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN * THE SOFTWARE. */ +#include "qemu/osdep.h" #include "hw/hw.h" #include "hw/i386/pc.h" #include "hw/isa/isa.h" diff --git a/hw/intc/i8259_common.c b/hw/intc/i8259_common.c index fbf26e5576..3a850b0c66 100644 --- a/hw/intc/i8259_common.c +++ b/hw/intc/i8259_common.c @@ -22,6 +22,7 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN * THE SOFTWARE. */ +#include "qemu/osdep.h" #include "hw/i386/pc.h" #include "hw/isa/i8259_internal.h" diff --git a/hw/intc/omap_intc.c b/hw/intc/omap_intc.c index 07b6272b09..336882510b 100644 --- a/hw/intc/omap_intc.c +++ b/hw/intc/omap_intc.c @@ -17,6 +17,7 @@ * You should have received a copy of the GNU General Public License along * with this program; if not, see . */ +#include "qemu/osdep.h" #include "hw/hw.h" #include "hw/arm/omap.h" #include "hw/sysbus.h" diff --git a/hw/intc/openpic.c b/hw/intc/openpic.c index bfcf155356..903888c02e 100644 --- a/hw/intc/openpic.c +++ b/hw/intc/openpic.c @@ -33,6 +33,7 @@ * Serial interrupts, as implemented in Raven chipset are not supported yet. * */ +#include "qemu/osdep.h" #include "hw/hw.h" #include "hw/ppc/mac.h" #include "hw/pci/pci.h" diff --git a/hw/intc/openpic_kvm.c b/hw/intc/openpic_kvm.c index 649f476ac8..4dcdb61a09 100644 --- a/hw/intc/openpic_kvm.c +++ b/hw/intc/openpic_kvm.c @@ -22,6 +22,7 @@ * THE SOFTWARE. */ +#include "qemu/osdep.h" #include #include "exec/address-spaces.h" #include "hw/hw.h" diff --git a/hw/intc/s390_flic.c b/hw/intc/s390_flic.c index 02e10b750d..bc75fa7d95 100644 --- a/hw/intc/s390_flic.c +++ b/hw/intc/s390_flic.c @@ -10,6 +10,7 @@ * directory. */ +#include "qemu/osdep.h" #include "qemu/error-report.h" #include "hw/sysbus.h" #include "migration/qemu-file.h" diff --git a/hw/intc/s390_flic_kvm.c b/hw/intc/s390_flic_kvm.c index 48714f96a3..02449b390e 100644 --- a/hw/intc/s390_flic_kvm.c +++ b/hw/intc/s390_flic_kvm.c @@ -10,6 +10,7 @@ * directory. */ +#include "qemu/osdep.h" #include #include "qemu/error-report.h" #include "hw/sysbus.h" diff --git a/hw/intc/sh_intc.c b/hw/intc/sh_intc.c index 55c76e4afc..f3cdfaf428 100644 --- a/hw/intc/sh_intc.c +++ b/hw/intc/sh_intc.c @@ -8,6 +8,7 @@ * This code is licensed under the GPL. */ +#include "qemu/osdep.h" #include "hw/sh4/sh_intc.h" #include "hw/hw.h" #include "hw/sh4/sh.h" diff --git a/hw/intc/slavio_intctl.c b/hw/intc/slavio_intctl.c index f22aba0313..c9486ed999 100644 --- a/hw/intc/slavio_intctl.c +++ b/hw/intc/slavio_intctl.c @@ -22,6 +22,7 @@ * THE SOFTWARE. */ +#include "qemu/osdep.h" #include "hw/sparc/sun4m.h" #include "monitor/monitor.h" #include "hw/sysbus.h" diff --git a/hw/intc/xilinx_intc.c b/hw/intc/xilinx_intc.c index 12804ab729..9d8139bc6d 100644 --- a/hw/intc/xilinx_intc.c +++ b/hw/intc/xilinx_intc.c @@ -22,6 +22,7 @@ * THE SOFTWARE. */ +#include "qemu/osdep.h" #include "hw/sysbus.h" #include "hw/hw.h"