From patchwork Wed Sep 22 12:46:54 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fuad Tabba X-Patchwork-Id: 12510539 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-18.2 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_ADSP_CUSTOM_MED,DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_CR_TRAILER,INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id DBC71C433F5 for ; Wed, 22 Sep 2021 12:49:39 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id AFE65610A0 for ; Wed, 22 Sep 2021 12:49:39 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org AFE65610A0 Authentication-Results: mail.kernel.org; dmarc=fail (p=reject dis=none) header.from=google.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:Cc:To:From:Subject:References: Mime-Version:Message-Id:In-Reply-To:Date:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=1XFqqrPfBZDeNy6/LvFFIYLvnwk01mtEHrJNV/X+n+A=; b=WrSc9LCXAgvxrjwKA47k7C8r0F PhzB5iQUb/FdEHhpf/oNarOf0Qo9Tl1OLbfYn4Wozw8H277FPiBIFuLWi6UIgwmdWJM+wP33uvzC5 VNIG/4lnWPh3OroJKB8azJkA755qvZccdEtw2p7kdLyXto5mBNddAJ5uSoNkUMVWBulDSjYxDObN7 LRMfNPL6Mg+8zpnXPqMItuvF2ospDpLBBA12eWPeg6eL8HbZzhucW5oAnbyR+clBwxYbFyLB1NndU wqb2dJYMPaL+WD04BwM6oZbXtb1ohbv066Dfh7jilWJzumQsYedRg1DriT6tMZy7haP1QzCmE0hon ZJiW9WZA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mT1fB-008Oz2-Rn; Wed, 22 Sep 2021 12:47:50 +0000 Received: from desiato.infradead.org ([2001:8b0:10b:1:d65d:64ff:fe57:4e05]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mT1eg-008Ot0-F3 for linux-arm-kernel@bombadil.infradead.org; Wed, 22 Sep 2021 12:47:18 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=desiato.20200630; h=Content-Type:Cc:To:From:Subject: References:Mime-Version:Message-Id:In-Reply-To:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=RXQp8EhHyhXXySKkvUjyl1brDMjtu4rtTGvd2k1suTI=; b=TygEQfgkuKRs/mm8Sjuct3BCOD hXqXzaAlA3EUxwAC/X3vBe9u7wuH32s4Xn3Zy5YVAuOdOHDocr2Tl7ysVmnEURccxs2JDbDWNiTC4 3zd6W3DTdyqE5Oy+7Mirx0weBpDglfKkDZcbnPL91YYoKzVbyM6AxGxFzkbKD02O4pMq16P67cAxc xE++HW8US8iudr0y5QKRMVgsKdQvyDUA6hnbRGsSlt4gRrnjRqQjwEyO6Lg+YQ0KYSLsWVk/fXxSA Ob+EXkfwFLhYAI8lnRbYMVuR6V4HjxvDPKjFZQTqToNYv8L24YV2K9exYX3DSIVUZlJzfkOwUhNmd wAx5onMQ==; Received: from mail-qv1-xf4a.google.com ([2607:f8b0:4864:20::f4a]) by desiato.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mT1ed-004zXq-5B for linux-arm-kernel@lists.infradead.org; Wed, 22 Sep 2021 12:47:16 +0000 Received: by mail-qv1-xf4a.google.com with SMTP id w10-20020a0cb54a000000b0037a9848b92fso13147555qvd.0 for ; Wed, 22 Sep 2021 05:47:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20210112; h=date:in-reply-to:message-id:mime-version:references:subject:from:to :cc; bh=RXQp8EhHyhXXySKkvUjyl1brDMjtu4rtTGvd2k1suTI=; b=s3+Mgqu8sfSi0tCYFDk4JwgQAxV1pz/6CO4GlvQdNLDT7G6pSVteqrVOUbJoNQUICx LPAepd4yvGh/3gSXd2CJz1kK14w6Nm8zL7ncfnx9iJ1CAINHfXbGYrOzC7+nUK9sOwDJ TRTbDtDkBYd2yp9w7m5pbi8ISYYfo5tAJQ+iiB2U0e7oNl0yZpepUFhPgrXK+zQxz2gq qPATu9Av7z25m0JBFjYVY4Gdy1woTsZHYxjRVdMn9Tu+zs3Ldi+eyk6f1OFiqe9uCn4o AMyzKKS4CA9z9xgmDH/DgDUCCRAKw+/tN4deBLr5pwMD+TSO5M8pPOU7OrlX2Zwhbr1c /alQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:in-reply-to:message-id:mime-version :references:subject:from:to:cc; bh=RXQp8EhHyhXXySKkvUjyl1brDMjtu4rtTGvd2k1suTI=; b=2zFzBq01FL+0HNVxNzNINDTqFo1cFFuy9YQe76vjpjJmGu9Fu/6h7aUN2TQCssHYfh vkjUbmYbAe6PR+Ac8XVLTMvq7wxbX477yEAt12xzLMugiqark2nXklx7Cal2ks8Qqr5Y kgTxEZ/k3OGjQxyvILrsOLvyo6BN22AitFhyWflyr1yj6re4UbGChMQH29xSyA1z/wAi rGfAeK6p5+pn32zGBjNIzz38q94j2oZnCEXjXKynEbLqNZcFkY7t/TOWJ1dsE+dGjpbG +/zQD8d+X2txi7nSBZpleWciWv5u4Sysqg7MFjl2tRHtcnKadJ7P774UrBodyPjbmDGH +xKQ== X-Gm-Message-State: AOAM533TPnc+DJ1wpqgNxRgH3LxilUCmed9B1mHwqbC2g5t8eDs86cft 5ezk0FTLJtrQ5lUFGWT1pE3sUU1U7Q== X-Google-Smtp-Source: ABdhPJzaj/UlUNVyzlfyuYkTDj+4eIBqbXRkw5oe7YW85EAs0vshHaSjcz6Z29FkHRA7oZj25ajpysCUvQ== X-Received: from tabba.c.googlers.com ([fda3:e722:ac3:cc00:28:9cb1:c0a8:482]) (user=tabba job=sendgmr) by 2002:ad4:45c3:: with SMTP id v3mr37263884qvt.41.1632314830924; Wed, 22 Sep 2021 05:47:10 -0700 (PDT) Date: Wed, 22 Sep 2021 13:46:54 +0100 In-Reply-To: <20210922124704.600087-1-tabba@google.com> Message-Id: <20210922124704.600087-3-tabba@google.com> Mime-Version: 1.0 References: <20210922124704.600087-1-tabba@google.com> X-Mailer: git-send-email 2.33.0.464.g1972c5931b-goog Subject: [PATCH v6 02/12] KVM: arm64: Don't include switch.h into nvhe/kvm-main.c From: Fuad Tabba To: kvmarm@lists.cs.columbia.edu Cc: maz@kernel.org, will@kernel.org, james.morse@arm.com, alexandru.elisei@arm.com, suzuki.poulose@arm.com, mark.rutland@arm.com, christoffer.dall@arm.com, pbonzini@redhat.com, drjones@redhat.com, oupton@google.com, qperret@google.com, kvm@vger.kernel.org, linux-arm-kernel@lists.infradead.org, kernel-team@android.com, tabba@google.com X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210922_134715_301653_9A92F0CC X-CRM114-Status: GOOD ( 11.75 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org From: Marc Zyngier hyp-main.c includes switch.h while it only requires adjust-pc.h. Fix it to remove an unnecessary dependency. Signed-off-by: Marc Zyngier Signed-off-by: Fuad Tabba Acked-by: Will Deacon --- arch/arm64/kvm/hyp/nvhe/hyp-main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/kvm/hyp/nvhe/hyp-main.c b/arch/arm64/kvm/hyp/nvhe/hyp-main.c index 2da6aa8da868..8ca1104f4774 100644 --- a/arch/arm64/kvm/hyp/nvhe/hyp-main.c +++ b/arch/arm64/kvm/hyp/nvhe/hyp-main.c @@ -4,7 +4,7 @@ * Author: Andrew Scull */ -#include +#include #include #include