From: Peter Maydell Date: Tue, 26 Jan 2016 18:17:24 +0000 (+0000) Subject: cris: Clean up includes X-Git-Tag: v2.6.0-rc0~167 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=23b0d7dfe5d2d5a9906be6d257ae75bbe62c5acc;p=thirdparty%2Fqemu.git cris: 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-32-git-send-email-peter.maydell@linaro.org --- diff --git a/disas/cris.c b/disas/cris.c index 4482a4113e6..7f35bc0c6b7 100644 --- a/disas/cris.c +++ b/disas/cris.c @@ -18,6 +18,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 "qemu-common.h" #include "disas/bfd.h" //#include "sysdep.h" diff --git a/hw/cris/axis_dev88.c b/hw/cris/axis_dev88.c index de880d173b3..f2ba1d0775a 100644 --- a/hw/cris/axis_dev88.c +++ b/hw/cris/axis_dev88.c @@ -22,6 +22,7 @@ * THE SOFTWARE. */ +#include "qemu/osdep.h" #include "hw/sysbus.h" #include "net/net.h" #include "hw/block/flash.h" diff --git a/hw/cris/boot.c b/hw/cris/boot.c index 1cfa339c24a..6608160e0d7 100644 --- a/hw/cris/boot.c +++ b/hw/cris/boot.c @@ -22,6 +22,7 @@ * THE SOFTWARE. */ +#include "qemu/osdep.h" #include "hw/hw.h" #include "hw/loader.h" #include "elf.h" diff --git a/target-cris/cpu.c b/target-cris/cpu.c index 8eaf5a5a311..b2c8624dbf5 100644 --- a/target-cris/cpu.c +++ b/target-cris/cpu.c @@ -21,6 +21,7 @@ * */ +#include "qemu/osdep.h" #include "cpu.h" #include "qemu-common.h" #include "mmu.h" diff --git a/target-cris/gdbstub.c b/target-cris/gdbstub.c index 5db3683ab69..1bbf17b04ae 100644 --- a/target-cris/gdbstub.c +++ b/target-cris/gdbstub.c @@ -17,7 +17,7 @@ * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, see . */ -#include "config.h" +#include "qemu/osdep.h" #include "qemu-common.h" #include "exec/gdbstub.h" diff --git a/target-cris/helper.c b/target-cris/helper.c index df6c9fdcb5b..1eb9fd91840 100644 --- a/target-cris/helper.c +++ b/target-cris/helper.c @@ -18,6 +18,7 @@ * License along with this library; if not, see . */ +#include "qemu/osdep.h" #include "cpu.h" #include "mmu.h" #include "qemu/host-utils.h" diff --git a/target-cris/machine.c b/target-cris/machine.c index 983b67c47fd..9cc2820e855 100644 --- a/target-cris/machine.c +++ b/target-cris/machine.c @@ -18,6 +18,7 @@ * License along with this library; if not, see . */ +#include "qemu/osdep.h" #include "hw/hw.h" static const VMStateDescription vmstate_tlbset = { diff --git a/target-cris/op_helper.c b/target-cris/op_helper.c index 22966771e9c..320f2b80d24 100644 --- a/target-cris/op_helper.c +++ b/target-cris/op_helper.c @@ -18,6 +18,7 @@ * License along with this library; if not, see . */ +#include "qemu/osdep.h" #include "cpu.h" #include "mmu.h" #include "exec/helper-proto.h" diff --git a/target-cris/translate.c b/target-cris/translate.c index 24299314d09..295005f1413 100644 --- a/target-cris/translate.c +++ b/target-cris/translate.c @@ -23,6 +23,7 @@ * The condition code translation is in need of attention. */ +#include "qemu/osdep.h" #include "cpu.h" #include "disas/disas.h" #include "tcg-op.h" diff --git a/target-cris/translate_v10.c b/target-cris/translate_v10.c index df20bdc5f1b..13355178833 100644 --- a/target-cris/translate_v10.c +++ b/target-cris/translate_v10.c @@ -18,6 +18,7 @@ * License along with this library; if not, see . */ +#include "qemu/osdep.h" #include "crisv10-decode.h" static const char *regnames_v10[] =