From patchwork Tue Jan 26 18:16:59 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Maydell X-Patchwork-Id: 8125901 Return-Path: X-Original-To: patchwork-qemu-devel@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 4FCF8BEEE5 for ; Tue, 26 Jan 2016 18:26:22 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 2CE4120256 for ; Tue, 26 Jan 2016 18:26:21 +0000 (UTC) Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id D2E282017E for ; Tue, 26 Jan 2016 18:26:19 +0000 (UTC) Received: from localhost ([::1]:45922 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aO8Jn-0005TN-4S for patchwork-qemu-devel@patchwork.kernel.org; Tue, 26 Jan 2016 13:26:19 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:36007) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aO8BZ-0006cM-Mz for qemu-devel@nongnu.org; Tue, 26 Jan 2016 13:17:53 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aO8BT-0007es-Lj for qemu-devel@nongnu.org; Tue, 26 Jan 2016 13:17:49 -0500 Received: from mnementh.archaic.org.uk ([2001:8b0:1d0::1]:59658) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aO8BT-0007bp-8C for qemu-devel@nongnu.org; Tue, 26 Jan 2016 13:17:43 -0500 Received: from pm215 by mnementh.archaic.org.uk with local (Exim 4.80) (envelope-from ) id 1aO8BH-0000DC-0M; Tue, 26 Jan 2016 18:17:31 +0000 From: Peter Maydell To: qemu-devel@nongnu.org Date: Tue, 26 Jan 2016 18:16:59 +0000 Message-Id: <1453832250-766-7-git-send-email-peter.maydell@linaro.org> X-Mailer: git-send-email 1.7.10.4 In-Reply-To: <1453832250-766-1-git-send-email-peter.maydell@linaro.org> References: <1453832250-766-1-git-send-email-peter.maydell@linaro.org> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 2001:8b0:1d0::1 Cc: patches@linaro.org Subject: [Qemu-devel] [PATCH 06/37] sparc: Clean up includes X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org Sender: qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP 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 --- hw/char/grlib_apbuart.c | 1 + hw/intc/grlib_irqmp.c | 1 + hw/sparc/leon3.c | 1 + hw/sparc/sun4m.c | 1 + hw/sparc64/sun4u.c | 1 + hw/timer/grlib_gptimer.c | 1 + target-sparc/cc_helper.c | 1 + target-sparc/cpu.c | 1 + target-sparc/fop_helper.c | 1 + target-sparc/gdbstub.c | 2 +- target-sparc/helper.c | 1 + target-sparc/int32_helper.c | 1 + target-sparc/int64_helper.c | 1 + target-sparc/ldst_helper.c | 1 + target-sparc/machine.c | 1 + target-sparc/mmu_helper.c | 1 + target-sparc/monitor.c | 1 + target-sparc/translate.c | 6 +----- target-sparc/vis_helper.c | 1 + target-sparc/win_helper.c | 1 + 20 files changed, 20 insertions(+), 6 deletions(-) diff --git a/hw/char/grlib_apbuart.c b/hw/char/grlib_apbuart.c index 35ef661..871524c 100644 --- a/hw/char/grlib_apbuart.c +++ b/hw/char/grlib_apbuart.c @@ -22,6 +22,7 @@ * THE SOFTWARE. */ +#include "qemu/osdep.h" #include "hw/sysbus.h" #include "sysemu/char.h" diff --git a/hw/intc/grlib_irqmp.c b/hw/intc/grlib_irqmp.c index d1813f7..f5ca8f7 100644 --- a/hw/intc/grlib_irqmp.c +++ b/hw/intc/grlib_irqmp.c @@ -24,6 +24,7 @@ * THE SOFTWARE. */ +#include "qemu/osdep.h" #include "hw/sysbus.h" #include "cpu.h" diff --git a/hw/sparc/leon3.c b/hw/sparc/leon3.c index 22d1e7e..07c5c85 100644 --- a/hw/sparc/leon3.c +++ b/hw/sparc/leon3.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 "qemu/timer.h" #include "hw/ptimer.h" diff --git a/hw/sparc/sun4m.c b/hw/sparc/sun4m.c index 230dac9..1fcec44 100644 --- a/hw/sparc/sun4m.c +++ b/hw/sparc/sun4m.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/sysbus.h" #include "qemu/error-report.h" #include "qemu/timer.h" diff --git a/hw/sparc64/sun4u.c b/hw/sparc64/sun4u.c index 861727f..124c376 100644 --- a/hw/sparc64/sun4u.c +++ b/hw/sparc64/sun4u.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/pci/pci.h" #include "hw/pci-host/apb.h" diff --git a/hw/timer/grlib_gptimer.c b/hw/timer/grlib_gptimer.c index d655bb2..dd000f5 100644 --- a/hw/timer/grlib_gptimer.c +++ b/hw/timer/grlib_gptimer.c @@ -22,6 +22,7 @@ * THE SOFTWARE. */ +#include "qemu/osdep.h" #include "hw/sysbus.h" #include "qemu/timer.h" #include "hw/ptimer.h" diff --git a/target-sparc/cc_helper.c b/target-sparc/cc_helper.c index 35dab73..44c4409 100644 --- a/target-sparc/cc_helper.c +++ b/target-sparc/cc_helper.c @@ -17,6 +17,7 @@ * License along with this library; if not, see . */ +#include "qemu/osdep.h" #include "cpu.h" #include "exec/helper-proto.h" diff --git a/target-sparc/cpu.c b/target-sparc/cpu.c index c197a0f..ce903f8 100644 --- a/target-sparc/cpu.c +++ b/target-sparc/cpu.c @@ -17,6 +17,7 @@ * License along with this library; if not, see . */ +#include "qemu/osdep.h" #include "cpu.h" #include "qemu/error-report.h" diff --git a/target-sparc/fop_helper.c b/target-sparc/fop_helper.c index ee4592e..0830643 100644 --- a/target-sparc/fop_helper.c +++ b/target-sparc/fop_helper.c @@ -17,6 +17,7 @@ * License along with this library; if not, see . */ +#include "qemu/osdep.h" #include "cpu.h" #include "exec/helper-proto.h" diff --git a/target-sparc/gdbstub.c b/target-sparc/gdbstub.c index 3de3242..e530dc5 100644 --- a/target-sparc/gdbstub.c +++ b/target-sparc/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-sparc/helper.c b/target-sparc/helper.c index 6600834..8349cbe 100644 --- a/target-sparc/helper.c +++ b/target-sparc/helper.c @@ -17,6 +17,7 @@ * License along with this library; if not, see . */ +#include "qemu/osdep.h" #include "cpu.h" #include "qemu/host-utils.h" #include "exec/helper-proto.h" diff --git a/target-sparc/int32_helper.c b/target-sparc/int32_helper.c index 7c380ba..d4d6a4b 100644 --- a/target-sparc/int32_helper.c +++ b/target-sparc/int32_helper.c @@ -17,6 +17,7 @@ * License along with this library; if not, see . */ +#include "qemu/osdep.h" #include "cpu.h" #include "trace.h" #include "sysemu/sysemu.h" diff --git a/target-sparc/int64_helper.c b/target-sparc/int64_helper.c index b02d22b..ddef66b 100644 --- a/target-sparc/int64_helper.c +++ b/target-sparc/int64_helper.c @@ -17,6 +17,7 @@ * License along with this library; if not, see . */ +#include "qemu/osdep.h" #include "cpu.h" #include "exec/helper-proto.h" #include "trace.h" diff --git a/target-sparc/ldst_helper.c b/target-sparc/ldst_helper.c index c7ad47d..b0600fd 100644 --- a/target-sparc/ldst_helper.c +++ b/target-sparc/ldst_helper.c @@ -17,6 +17,7 @@ * License along with this library; if not, see . */ +#include "qemu/osdep.h" #include "cpu.h" #include "exec/helper-proto.h" #include "exec/cpu_ldst.h" diff --git a/target-sparc/machine.c b/target-sparc/machine.c index aecbe2c..1046016 100644 --- a/target-sparc/machine.c +++ b/target-sparc/machine.c @@ -1,3 +1,4 @@ +#include "qemu/osdep.h" #include "hw/hw.h" #include "hw/boards.h" #include "qemu/timer.h" diff --git a/target-sparc/mmu_helper.c b/target-sparc/mmu_helper.c index 7495406..aa80c48 100644 --- a/target-sparc/mmu_helper.c +++ b/target-sparc/mmu_helper.c @@ -17,6 +17,7 @@ * License along with this library; if not, see . */ +#include "qemu/osdep.h" #include "cpu.h" #include "trace.h" #include "exec/address-spaces.h" diff --git a/target-sparc/monitor.c b/target-sparc/monitor.c index ca54d72..7cc1b0f 100644 --- a/target-sparc/monitor.c +++ b/target-sparc/monitor.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 "cpu.h" #include "monitor/monitor.h" #include "monitor/hmp-target.h" diff --git a/target-sparc/translate.c b/target-sparc/translate.c index f99ceed..747f94d 100644 --- a/target-sparc/translate.c +++ b/target-sparc/translate.c @@ -18,11 +18,7 @@ License along with this library; if not, see . */ -#include -#include -#include -#include -#include +#include "qemu/osdep.h" #include "cpu.h" #include "disas/disas.h" diff --git a/target-sparc/vis_helper.c b/target-sparc/vis_helper.c index 45fc7db..8a9b763 100644 --- a/target-sparc/vis_helper.c +++ b/target-sparc/vis_helper.c @@ -17,6 +17,7 @@ * License along with this library; if not, see . */ +#include "qemu/osdep.h" #include "cpu.h" #include "exec/helper-proto.h" diff --git a/target-sparc/win_helper.c b/target-sparc/win_helper.c index 5b6d7b5..a8a6c0c 100644 --- a/target-sparc/win_helper.c +++ b/target-sparc/win_helper.c @@ -17,6 +17,7 @@ * License along with this library; if not, see . */ +#include "qemu/osdep.h" #include "cpu.h" #include "exec/helper-proto.h" #include "trace.h"