From nobody Mon Feb 9 16:19:27 2026 Delivered-To: importer@patchew.org Received-SPF: temperror (zoho.com: Error in retrieving data from DNS) client-ip=208.118.235.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Authentication-Results: mx.zohomail.com; dkim=fail; spf=temperror (zoho.com: Error in retrieving data from DNS) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org Return-Path: Received: from lists.gnu.org (208.118.235.17 [208.118.235.17]) by mx.zohomail.com with SMTPS id 1513310033348608.5635394260196; Thu, 14 Dec 2017 19:53:53 -0800 (PST) Received: from localhost ([::1]:44214 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ePh3z-00057M-GV for importer@patchew.org; Thu, 14 Dec 2017 22:53:31 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:34359) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ePgii-0002NH-4k for qemu-devel@nongnu.org; Thu, 14 Dec 2017 22:31:33 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ePgig-0004p9-W7 for qemu-devel@nongnu.org; Thu, 14 Dec 2017 22:31:32 -0500 Received: from mail-qt0-x242.google.com ([2607:f8b0:400d:c0d::242]:42356) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ePgig-0004oX-RU; Thu, 14 Dec 2017 22:31:30 -0500 Received: by mail-qt0-x242.google.com with SMTP id g9so10606989qth.9; Thu, 14 Dec 2017 19:31:30 -0800 (PST) Received: from x1.local ([181.91.222.165]) by smtp.gmail.com with ESMTPSA id q24sm3794605qkq.63.2017.12.14.19.31.27 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 14 Dec 2017 19:31:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=MAcs899hE5yZ0a3uYUIEIVX0r3n3iMCuo3eZrqJWJpI=; b=Vch/4rgeP/y2Dwe2EgsGw0GCngjrKoItFiCcNa2C7qPH40ws4bQGPb8/tsK2xbQRdQ /aZpGwr0rIIYzGL+luraViPYz8HBu8ZxMuF7fF9PBCIWmce1aexAXW2cSQP3M3DdBo7D iRuwdRX+Y592BnU/76l512PAgc76yXzlDB0a4SZW7e8Gl90qRUDiiyqsGcXd6Q8rL8Ao Vj9gQKT3AqVbUqa/42lKmSMo+Dlw3J68AwcJUNDKqtCDI7sbkr21cU3+0yqVfX8FtLAn aXMZg7t0lYjb9+iulPF9XJEBqxcAhHliIziBLQgpdA2b5YLGC/PpjS11HWZNnm5ew1Bg RNGg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references:mime-version:content-transfer-encoding; bh=MAcs899hE5yZ0a3uYUIEIVX0r3n3iMCuo3eZrqJWJpI=; b=IqpuhjSgKZr4d0O7XH/GhBuxGgue+XEZpEMPn6cvC/WkOa1XTnZih+0E55V+462kYh yCcrIEtVUhzipoEoviF+Ayw/rx5Mbk8aFqlWm8AJKAz5LmH18vURkU2WT8x3KC/pWVsf qSYRBQ9O8L4xbTWYnXZXeOafnoKt0PazK+HbVKYohffyQNv+hopCuF1DAMkHGnj6oF6I tX0Ncq9WtbNZbSzTSjEIYIMGkhtoqcD7e6rpA9PDwCG4VcLhXcHgB4I9SA/9RHuWqBVo g+FtkgmeGtdy17nmZv3y/0p48RzFRPvpxHn2HpZ7ton1JPQXynzvZlIJsnL6q1pQa+F3 ogjA== X-Gm-Message-State: AKGB3mKGEDyhXNTPTSZMTUoXbmCzV4QAiUlhmv05pkqvqA680o4hHY1v 36NKbmDFR/hLiZOf3p/2TY8= X-Google-Smtp-Source: ACJfBouQGJgsjQyFv+LFhaUBdqbuZQOt9upfW7pewjWgFLlPlJCbbsVs5RA2nFMz0c+KkmRWyYISWg== X-Received: by 10.200.4.7 with SMTP id v7mr20425063qtg.129.1513308690362; Thu, 14 Dec 2017 19:31:30 -0800 (PST) From: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= To: "Michael S. Tsirkin" , Michael Tokarev Date: Fri, 15 Dec 2017 00:29:49 -0300 Message-Id: <20171215033015.738-18-f4bug@amsat.org> X-Mailer: git-send-email 2.15.1 In-Reply-To: <20171215033015.738-1-f4bug@amsat.org> References: <20171215033015.738-1-f4bug@amsat.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:400d:c0d::242 Subject: [Qemu-devel] [PATCH v4 17/43] nios2: remove duplicated includes (in code commented out) X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Marek Vasut , Peter Maydell , Thomas Huth , Eduardo Habkost , qemu-trivial@nongnu.org, Chris Wulff , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , qemu-devel@nongnu.org, Paolo Bonzini Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) X-ZohoMail: RDKM_2 RSF_6 Z_629925259 SPT_0 applied using ./scripts/clean-includes Signed-off-by: Philippe Mathieu-Daud=C3=A9 Reviewed-by: Peter Maydell --- target/nios2/cpu.h | 1 - disas/nios2.c | 3 --- hw/nios2/boot.c | 1 - target/nios2/helper.c | 5 +---- target/nios2/op_helper.c | 1 + target/nios2/translate.c | 1 + 6 files changed, 3 insertions(+), 9 deletions(-) diff --git a/target/nios2/cpu.h b/target/nios2/cpu.h index 9119eee587..88823a6d4d 100644 --- a/target/nios2/cpu.h +++ b/target/nios2/cpu.h @@ -20,7 +20,6 @@ #ifndef CPU_NIOS2_H #define CPU_NIOS2_H =20 -#include "qemu/osdep.h" #include "qemu-common.h" =20 #define TARGET_LONG_BITS 32 diff --git a/disas/nios2.c b/disas/nios2.c index b342936d21..de11f04cc4 100644 --- a/disas/nios2.c +++ b/disas/nios2.c @@ -1756,7 +1756,6 @@ extern const int nios2_num_r2_reg_range_mappings; #endif /* _NIOS2_H */ =20 /*#include "sysdep.h" -#include #include "opcode/nios2.h" */ /* Register string table */ @@ -2521,8 +2520,6 @@ const int nios2_num_r2_reg_range_mappings =3D 8; #include "dis-asm.h" #include "opcode/nios2.h" #include "libiberty.h" -#include -#include */ /* No symbol table is available when this code runs out in an embedded system as when it is used for disassembler support in a monitor. */ diff --git a/hw/nios2/boot.c b/hw/nios2/boot.c index 2b31f5b844..94f436e7fb 100644 --- a/hw/nios2/boot.c +++ b/hw/nios2/boot.c @@ -34,7 +34,6 @@ #include "qemu/option.h" #include "qemu/config-file.h" #include "qemu/error-report.h" -#include "qemu-common.h" #include "sysemu/device_tree.h" #include "sysemu/sysemu.h" #include "hw/loader.h" diff --git a/target/nios2/helper.c b/target/nios2/helper.c index ef9ee05798..9f741a8f19 100644 --- a/target/nios2/helper.c +++ b/target/nios2/helper.c @@ -18,12 +18,9 @@ * */ =20 -#include -#include -#include +#include "qemu/osdep.h" =20 #include "cpu.h" -#include "qemu/osdep.h" #include "qemu/host-utils.h" #include "qapi/error.h" #include "exec/exec-all.h" diff --git a/target/nios2/op_helper.c b/target/nios2/op_helper.c index efb1c489c9..c853aeae02 100644 --- a/target/nios2/op_helper.c +++ b/target/nios2/op_helper.c @@ -18,6 +18,7 @@ * */ =20 +#include "qemu/osdep.h" #include "cpu.h" #include "exec/helper-proto.h" #include "exec/cpu_ldst.h" diff --git a/target/nios2/translate.c b/target/nios2/translate.c index 72329002ac..51a54ff760 100644 --- a/target/nios2/translate.c +++ b/target/nios2/translate.c @@ -21,6 +21,7 @@ * */ =20 +#include "qemu/osdep.h" #include "cpu.h" #include "tcg-op.h" #include "exec/exec-all.h" --=20 2.15.1