From patchwork Mon May 28 23:27:03 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= X-Patchwork-Id: 10434093 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 6CDAD60327 for ; Mon, 28 May 2018 23:27:52 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 5B789204BD for ; Mon, 28 May 2018 23:27:52 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 4CB1428553; Mon, 28 May 2018 23:27:52 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI, RCVD_IN_DNSWL_HI, T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id BB12C204BD for ; Mon, 28 May 2018 23:27:51 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934895AbeE1X1t (ORCPT ); Mon, 28 May 2018 19:27:49 -0400 Received: from mail-qt0-f193.google.com ([209.85.216.193]:44094 "EHLO mail-qt0-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932422AbeE1X1s (ORCPT ); Mon, 28 May 2018 19:27:48 -0400 Received: by mail-qt0-f193.google.com with SMTP id d3-v6so16547485qtp.11 for ; Mon, 28 May 2018 16:27:48 -0700 (PDT) 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=FnmjRruUstki2vsXYQq5CdrixQ34Vl3I585Z2rrPKI0=; b=HrwenYpQ/+cp/hABCrqdE7aE+YLMhHeKyGD/OuuYGZi5wWd3UCFtkPP4seDBRzP454 1id+8cO2Sqa+mPoDHz5F5ANk1bpRMvzx597x6GzPBcyilQTDzKI0BetQjNFiq+5lAKlg GtuPyZNX+ep5eCow/FEjmZFV4mjAOxHWMdW1qSv3sQ4Rw+e6sVglp7zMHTo5hwu3hlhZ BGtthUTsVZEEUmtWwjLMe0BAJ4zjNsYjB0trl7CEfI1OQaIcpVTjOPHUI2QGcL2H+TL6 XMoAureY7JGc8uj9bZYtjea3TRG968gUmRfhlWiDtJvqtvK5k+5wYnKG/5PdDieYJ8FT 5PsA== 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=FnmjRruUstki2vsXYQq5CdrixQ34Vl3I585Z2rrPKI0=; b=EEjQvBQvmJ6CQdl77XNTjFaOgbS0awoHGqP7C/L8CVYMVq+p2WqzZRwe7F5B3TJExC B90w1VCy4R1Ze3Koi+IeFmh1Ff3gER9M7aHWb//dvyRIG5hy643bVBNmww323h4hOtej hikDCUoPU+zhsEllKatfu/+pyC/x15TI6/hCwG8Hr11J/jzZCZvZTplN9ffhld3kU36s +6lk5qGf1OzdnGlqJJcBSd9yS373iJLwR5zwakoa7Cne9OuKWSmuN8OYpohDwBNPgEBk LtszWiUMnHQHCAL1HxYGA9RlPf8xLKU8nOfKgD9IXWROocS8pQ7KGh2U560YcbYTx9bI o/MQ== X-Gm-Message-State: ALKqPwd2H5SomqjRSaZ3qKezfsaeObR6XdByV8Y7IIM5O8zNbjR1pnQu 7QUgJjLztaUp4rBS3VigEGb2nZgA X-Google-Smtp-Source: ADUXVKJTWPETDyRtNj90spt6VIHT88sQfbYk9sJmwAEqca1vFWApzkbPtU4HgohNMpVFd6g7CLmAgA== X-Received: by 2002:ac8:7185:: with SMTP id w5-v6mr14512306qto.415.1527550068146; Mon, 28 May 2018 16:27:48 -0700 (PDT) Received: from x1.local ([138.117.48.222]) by smtp.gmail.com with ESMTPSA id s19-v6sm23756182qki.62.2018.05.28.16.27.44 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 28 May 2018 16:27:47 -0700 (PDT) From: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= To: Thomas Huth , "Michael S . Tsirkin" Cc: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , qemu-devel@nongnu.org, qemu-trivial@nongnu.org, Paolo Bonzini , Richard Henderson , Eduardo Habkost , Marcelo Tosatti , kvm@vger.kernel.org (open list:X86) Subject: [PATCH v4 05/21] target/i386: Do not include "exec/ioport.h" if it is not necessary Date: Mon, 28 May 2018 20:27:03 -0300 Message-Id: <20180528232719.4721-6-f4bug@amsat.org> X-Mailer: git-send-email 2.17.0 In-Reply-To: <20180528232719.4721-1-f4bug@amsat.org> References: <20180528232719.4721-1-f4bug@amsat.org> MIME-Version: 1.0 Sender: kvm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: kvm@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Code change produced with: $ git grep '#include "exec/ioport.h"' target | \ 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é --- target/i386/hax-all.c | 1 - target/i386/hvf/hvf.c | 1 - target/i386/hvf/x86_task.c | 1 - target/i386/kvm.c | 1 - 4 files changed, 4 deletions(-) diff --git a/target/i386/hax-all.c b/target/i386/hax-all.c index cad7531406..c5856bbdc3 100644 --- a/target/i386/hax-all.c +++ b/target/i386/hax-all.c @@ -27,7 +27,6 @@ #include "cpu.h" #include "exec/address-spaces.h" #include "exec/exec-all.h" -#include "exec/ioport.h" #include "qemu-common.h" #include "hax-i386.h" diff --git a/target/i386/hvf/hvf.c b/target/i386/hvf/hvf.c index c36753954b..f6c872e678 100644 --- a/target/i386/hvf/hvf.c +++ b/target/i386/hvf/hvf.c @@ -66,7 +66,6 @@ #include "exec/address-spaces.h" #include "exec/exec-all.h" -#include "exec/ioport.h" #include "hw/i386/apic_internal.h" #include "hw/boards.h" #include "qemu/main-loop.h" diff --git a/target/i386/hvf/x86_task.c b/target/i386/hvf/x86_task.c index c3ead2ca73..7610d85802 100644 --- a/target/i386/hvf/x86_task.c +++ b/target/i386/hvf/x86_task.c @@ -27,7 +27,6 @@ #include #include "exec/exec-all.h" -#include "exec/ioport.h" #include "hw/i386/apic_internal.h" #include "hw/boards.h" #include "qemu/main-loop.h" diff --git a/target/i386/kvm.c b/target/i386/kvm.c index 6511329d11..9d8f80f4c0 100644 --- a/target/i386/kvm.c +++ b/target/i386/kvm.c @@ -40,7 +40,6 @@ #include "hw/i386/intel_iommu.h" #include "hw/i386/x86-iommu.h" -#include "exec/ioport.h" #include "hw/pci/pci.h" #include "hw/pci/msi.h" #include "hw/pci/msix.h"