From patchwork Thu Dec 2 17:10:46 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Will Deacon X-Patchwork-Id: 12694539 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org 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 smtp.lore.kernel.org (Postfix) with ESMTPS id D00C2C433F5 for ; Thu, 2 Dec 2021 17:12:25 +0000 (UTC) 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:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=DH1TFTJqK2ce2oyLyyTZN00xXQSI0Fdp9DvidtGc5gc=; b=zjUN386dM38CW1 jjHQqwWLILfMwWk1td2IFsWw8gGIOiQhgda03v3DtSNA7Mg4K3X+p0UdalhJlMa2Rqx4pqtbmFbOa Kf3E7tuRkYLBRyaRlmBRoUdaSEGuMZHTBl5W+IvdNgHQihMfFrRvDiNFrP0Eiv1/S0LbUggE2ho/q VmbkkJhnaT4GZmaI8ygY2NgcNULuucW86XFO/lveQKzY5chm+LTQhNT9SJ6kUs1mZPBnKyGPq3bdx bXZUmo2qqFlKKB4tzRWeDa+xQDhhidqSJ4Zr35xuFiTivkGZLrE8z1yQ88eAywXYWHCAlYRgbSL7n EOwa0+0OE2kI8SkQapRA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mspbx-00D78u-DF; Thu, 02 Dec 2021 17:11:09 +0000 Received: from dfw.source.kernel.org ([2604:1380:4641:c500::1]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mspbl-00D75j-1M for linux-arm-kernel@lists.infradead.org; Thu, 02 Dec 2021 17:10:58 +0000 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 9B51E624DD; Thu, 2 Dec 2021 17:10:56 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 4D80AC53FCF; Thu, 2 Dec 2021 17:10:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1638465056; bh=g1EJWBrySQ+lD+cn+Gm8JLLcRf3oBr2bg8d/dO69wDc=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=nTDXeXkFFKk2Nfaqs6qfZr/PA3tOSNM0Uj5gs06/um9kg5goxsKZn0sFOGGkb6sAe 5J7EghA9llGtY08nnBh3iKZL/z7AwFmlgujX8HEBsrw2t/pqOHk7rtoy/6GRjWX9Vi IxofJvA2VQCexFHv+GVtO9coopAe25VJ9kf+mlV2X1lYP8UXvsBd/Syam2PYuAXNjD qZEGlpFq+OpD/Bo/oNCB+c1g8CGlC2H9ta4qBasHIrTdToektouP78pffthiAdjKQH e/dDdcCyk5yarG6B6T87BPZRZnwclM73Ix0h6KHIgQKqyshJI+37AxFyhasRmgJnmn nuBNGGK3uvhFA== From: Will Deacon To: kvmarm@lists.cs.columbia.edu Cc: linux-arm-kernel@lists.infradead.org, Will Deacon , Alexandru Elisei , James Morse , Quentin Perret , Suzuki K Poulose , Fuad Tabba , Marc Zyngier Subject: [PATCH 1/3] arm64: Add missing include of asm/cpufeature.h to asm/mmu.h Date: Thu, 2 Dec 2021 17:10:46 +0000 Message-Id: <20211202171048.26924-2-will@kernel.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20211202171048.26924-1-will@kernel.org> References: <20211202171048.26924-1-will@kernel.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20211202_091057_137070_2ABB3557 X-CRM114-Status: GOOD ( 10.05 ) 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 asm/mmu.h refers to cpus_have_const_cap() in the definition of arm64_kernel_unmapped_at_el0() so include asm/cpufeature.h directly rather than force all users of the header to do it themselves. Signed-off-by: Will Deacon Tested-by: Fuad Tabba Reviewed-by: Fuad Tabba --- arch/arm64/include/asm/mmu.h | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/include/asm/mmu.h b/arch/arm64/include/asm/mmu.h index e9c30859f80c..48f8466a4be9 100644 --- a/arch/arm64/include/asm/mmu.h +++ b/arch/arm64/include/asm/mmu.h @@ -15,6 +15,7 @@ #ifndef __ASSEMBLY__ #include +#include typedef struct { atomic64_t id;