From patchwork Mon Aug 14 04:52:38 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hugh Dickins X-Patchwork-Id: 13352374 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 93B42C001B0 for ; Mon, 14 Aug 2023 04:53:11 +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:Message-ID: In-Reply-To:Subject:cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=QOXdDsim5UsMsbg9LaBAAzPAOgh5SgPF4qpSgLy7YPg=; b=VL9/Fm8j6NQSU1 fHqZmTMyuKzUjoGtmYsvWp6ZXQe839861PAAgcDy4tiKqaPiuZmKlo0nVhoV0cUTkBKh0XpiiUZGx ieK0IK6DlYBSr89KtTgURAW5aPIUeZCQj9MMTKAMA68N/spLZwHCciRLZmdrxmbOttNii26eRsIWq Gn5ycawjDOVZd7Fe8oI3LsPZ4O7lc8IntyLYztyXfL/7qHdh/2tTOzduNrR7cnVAIDGx+X33pE92K lRxTAipPQNM0vVp2NfghXOjUOsIKqIfhXwSXWKsVtN9xdclkDYeJphg5BcHuVRqVpYe82Ug91wcff MW3ffDF67KCPtQBmqnqg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qVPZM-00G9Qr-0z; Mon, 14 Aug 2023 04:52:44 +0000 Received: from mail-yb1-xb2b.google.com ([2607:f8b0:4864:20::b2b]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qVPZK-00G9Py-03 for linux-arm-kernel@lists.infradead.org; Mon, 14 Aug 2023 04:52:43 +0000 Received: by mail-yb1-xb2b.google.com with SMTP id 3f1490d57ef6-d299ed34bacso7134048276.1 for ; Sun, 13 Aug 2023 21:52:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20221208; t=1691988760; x=1692593560; h=mime-version:references:message-id:in-reply-to:subject:cc:to:from :date:from:to:cc:subject:date:message-id:reply-to; bh=hN9qvX/xkO4ChcVbhI2c0MqS74wWxK/MncyAQVTXkuY=; b=6JHbjA8d7uRMzfo6/hSK3dYn0G2W7xFG1hgjAnfIbo7EUB1TTZHMpZM3W32r8bfun9 9S1F2xR2z31Lidlmd4TS5seiojs14TfLajh68iuTRNZWhT9i2tnWHS0LVQmcjiB5FTQO 9B9dQYMQcNTjDaFxQcQbkA++BMN97pR8vnOPBYFW55Zu8jN1jWRYlaNclUdvbz5lZg6U TuzJmZASu1OuF0HfX5mdagQ6q8xLdrfcQlgv+wgEmqqRggWSLsRkDv8A0g+7c0oeOZQJ 9G7lOLByRzRvhUVTJTMRVoT3z4T5aAFSnaiLQluRWcWpZrHGv0kT8Gw+bmrdyPpbifjY dKYg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1691988760; x=1692593560; h=mime-version:references:message-id:in-reply-to:subject:cc:to:from :date:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=hN9qvX/xkO4ChcVbhI2c0MqS74wWxK/MncyAQVTXkuY=; b=VeMlatVwkjng20L8qmutz2BFlRPaR6jacZfI02rjalT2zYJOMaSjTxyrOoPriq2WPy Gog5BUFsaDP4sB+cjLsc6kMpJdcgCRfDl9Ogifu2Oyspw+1LR5y1RWL+828pPXwOnBuz S2HRU/Bk/iQa6mbigjEl3fVp2L201EvGzjcuWE2hLpqo/OVeZa6+N5nWx3FKttt6bgUD MjkSb3a74Tw0iOE3bPHHQHoseNhXXSv7OfeIvRn/JVVY5h2OPWKPpYUzgARBQTdCkCC0 OnBjxMiW6ACG6JLbQUvOJe7gWUw1jK5EeJzjSFQmPV7eMj0AnPy1nkmkvXq86wGZ9reF /KFw== X-Gm-Message-State: AOJu0Yzlcg3rDgTUmM4oj6zGEu22/T9aRRBpWnT8woQWrlaWAd4xQsWj xyG6oHEE33g0M2noft7WoTDOTA== X-Google-Smtp-Source: AGHT+IFGfapEBJ5M8Smgl8R0ZbfWGqBsgKp6orc7Q4/qciZRFjmp6G5wAjCZN2qLbpYAOHBfty4dvg== X-Received: by 2002:a25:2984:0:b0:d4b:50d3:b5c4 with SMTP id p126-20020a252984000000b00d4b50d3b5c4mr15149463ybp.1.1691988760571; Sun, 13 Aug 2023 21:52:40 -0700 (PDT) Received: from ripple.attlocal.net (172-10-233-147.lightspeed.sntcca.sbcglobal.net. [172.10.233.147]) by smtp.gmail.com with ESMTPSA id i62-20020a256d41000000b00d6861b49f01sm1190958ybc.65.2023.08.13.21.52.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 13 Aug 2023 21:52:40 -0700 (PDT) Date: Sun, 13 Aug 2023 21:52:38 -0700 (PDT) From: Hugh Dickins X-X-Sender: hugh@ripple.attlocal.net To: Andrew Morton cc: Mike Kravetz , Russell King , Catalin Marinas , Will Deacon , Palmer Dabbelt , linux-arm-kernel@lists.infradead.org, linux-riscv@lists.infradead.org, linux-mm@kvack.org Subject: [PATCH 1/3] arm: include asm/cacheflush.h in asm/hugetlb.h In-Reply-To: <6d2acfa4-7f44-d3b4-b0a8-5495c5985e4c@google.com> Message-ID: <4b055d0-7b2e-72bf-9b9d-8f3f1cd312d0@google.com> References: <6d2acfa4-7f44-d3b4-b0a8-5495c5985e4c@google.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230813_215242_077772_BE4DF796 X-CRM114-Status: GOOD ( 11.35 ) 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 PG_dcache_clean is used in asm/hugetlb.h but defined in asm/cacheflush.h: builds rely on an accident of that being included via linux/mempolicy.h, but better include it directly (like arch/sh/include/asm/hugetlb.h does). Signed-off-by: Hugh Dickins --- arch/arm/include/asm/hugetlb.h | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/include/asm/hugetlb.h b/arch/arm/include/asm/hugetlb.h index d02d6ca88e92..a3a82b7158d4 100644 --- a/arch/arm/include/asm/hugetlb.h +++ b/arch/arm/include/asm/hugetlb.h @@ -10,6 +10,7 @@ #ifndef _ASM_ARM_HUGETLB_H #define _ASM_ARM_HUGETLB_H +#include #include #include #include From patchwork Mon Aug 14 04:53:17 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hugh Dickins X-Patchwork-Id: 13352375 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 9BA14C001B0 for ; Mon, 14 Aug 2023 04:53:51 +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:Message-ID: In-Reply-To:Subject:cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=87WfRQqpT9dySjA5QTKnuY2u0RI0kr/AN5stAfF7Ccc=; b=k0tr6wSktdg7ak HnMkfLUeQpaKkv2DmN+6wc8Ro5XDG6VXRh5H7W/xDNjIRQPD/4r4xU6YZpXFsEqdeteMR4WfYzuUC dTJKb6Xo0dS333KQlMmQLVhx3q7N3FevpJSnNkdpfuF4kgT1rRv4hcImr2JmQ1f2AuoNkpjP2tj+8 eq1+s7hco77usC9/sncvDFZtdxc2oSFXLa479Ybk2IG82J7WwfdvsJjhznN/edzTUgnMM00dIJ74n k7eGCqkBD0sFN3etJSgkfsl+vphpVcxdDSnkRE+D+/CfGPbSbusA+xhYhrud6yjh09M/KPq/ikdkt YQ16VsrKA5qVPw4kWKHg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qVPa0-00G9dB-0T; Mon, 14 Aug 2023 04:53:24 +0000 Received: from mail-yb1-xb35.google.com ([2607:f8b0:4864:20::b35]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qVPZx-00G9bA-0R for linux-arm-kernel@lists.infradead.org; Mon, 14 Aug 2023 04:53:22 +0000 Received: by mail-yb1-xb35.google.com with SMTP id 3f1490d57ef6-d690c9fbda3so513699276.0 for ; Sun, 13 Aug 2023 21:53:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20221208; t=1691988800; x=1692593600; h=mime-version:references:message-id:in-reply-to:subject:cc:to:from :date:from:to:cc:subject:date:message-id:reply-to; bh=XuEMRB9XvbEbzX6uB9ErlyLpREyB8Dr00CoB38DVpTk=; b=eRcLuyNexWhUfmRHQ6aBHdEEn/P3PQ9TXU+My7XH90+bFTsaWofpT5uZgWquDzlbSC xjHjbkdLRNcnN9EcqHvo92W+kQSya6ZszDtAvofWE5Ad9hzLV3YvvyYiAb5hNXzi6HXE umeG+9HKAUtqKYzyhTeCv/l34u+TOsGSw86EN7PhlzsidFkLESQncae055Z7f9K6WosO Bpzha/Dg0xhk4wlVvVvHTVSM3t70xArWTdKRaaJEX9pac1ErMT/SRZeIfzFdzIGwfDTp AKhBnuyE9WFXggaDRfya+40tK4oqmpClEsdYE0AJcVuIj2wo98AgWkCpmuVLnPRnQJ2V PkgA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1691988800; x=1692593600; h=mime-version:references:message-id:in-reply-to:subject:cc:to:from :date:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=XuEMRB9XvbEbzX6uB9ErlyLpREyB8Dr00CoB38DVpTk=; b=Jmq6LpjzWQpn7S+k/lQkEhWuzyi0i0TVvLsYUawsrl06VAo/jzbHF1/E1Ef/KKbLGn ImW38/Mrgmb/C9ImpbUhpx1Ni8B/XrmaYQPvsbOqlF31ALga3PLetioaA4IMMEWVNJ2P 0M+Ejci3lM2AgdjJV5tHLPdZ60nw2wPA4yOjxMaBETcFutz9QFMhUovc6PCcM5lZh2gI p0cLh0E/wTQOgsz9VxDQYHq8PblxhtrS1ciUR1VYF1aPYnamI88xnJX9wRbPKSNwa5EJ xJhTJm+2T2oXCnDmFRzH1Y3G9OluukMLcBCt0YdXB267Oo2OIBAtN09Ua8AE+cqbBavd QJIg== X-Gm-Message-State: AOJu0YzFhzm3j1yRH7Pkwu6a+8DsqxyUojZZHhq6YALzeR0bbt30pyVg Bi3QlXdyOOuz2DJF0nuOgEjLLw== X-Google-Smtp-Source: AGHT+IFcOeiEmf/Ox5kLzmgw9Uxu6yFAko05JiWKaKn8n86RE2PQRh5HYe2SOt89A2mNEqW0gPdWuw== X-Received: by 2002:a25:d711:0:b0:d09:d428:8284 with SMTP id o17-20020a25d711000000b00d09d4288284mr7267522ybg.56.1691988799683; Sun, 13 Aug 2023 21:53:19 -0700 (PDT) Received: from ripple.attlocal.net (172-10-233-147.lightspeed.sntcca.sbcglobal.net. [172.10.233.147]) by smtp.gmail.com with ESMTPSA id 7-20020a250807000000b00d145ec9f495sm2246460ybi.46.2023.08.13.21.53.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 13 Aug 2023 21:53:19 -0700 (PDT) Date: Sun, 13 Aug 2023 21:53:17 -0700 (PDT) From: Hugh Dickins X-X-Sender: hugh@ripple.attlocal.net To: Andrew Morton cc: Mike Kravetz , Russell King , Catalin Marinas , Will Deacon , Palmer Dabbelt , linux-arm-kernel@lists.infradead.org, linux-riscv@lists.infradead.org, linux-mm@kvack.org Subject: [PATCH 2/3] arm64: include asm/cacheflush.h in asm/hugetlb.h In-Reply-To: <6d2acfa4-7f44-d3b4-b0a8-5495c5985e4c@google.com> Message-ID: References: <6d2acfa4-7f44-d3b4-b0a8-5495c5985e4c@google.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230813_215321_172406_62769325 X-CRM114-Status: GOOD ( 11.02 ) 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 PG_dcache_clean is used in asm/hugetlb.h but defined in asm/cacheflush.h: builds rely on an accident of that being included via linux/mempolicy.h, but better include it directly (like arch/sh/include/asm/hugetlb.h does). Signed-off-by: Hugh Dickins --- arch/arm64/include/asm/hugetlb.h | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/include/asm/hugetlb.h b/arch/arm64/include/asm/hugetlb.h index a91d6219aa78..f43a38ac1779 100644 --- a/arch/arm64/include/asm/hugetlb.h +++ b/arch/arm64/include/asm/hugetlb.h @@ -10,6 +10,7 @@ #ifndef __ASM_HUGETLB_H #define __ASM_HUGETLB_H +#include #include #ifdef CONFIG_ARCH_ENABLE_HUGEPAGE_MIGRATION From patchwork Mon Aug 14 04:53:57 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hugh Dickins X-Patchwork-Id: 13352376 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 84AE7C04A6A for ; Mon, 14 Aug 2023 04:54:30 +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:Message-ID: In-Reply-To:Subject:cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=ENs6ds6rNF42M2dlw7yCE1ENL6zBM7rjOHdxr1mFWxY=; b=SvECAQSmNWZprL 25cwzT0BdFRnHkabGNKDsu2q87hIPodSaQ4Z/8FZ2LXgpEvw2+ZqnKbK6ltpc5Xyp08Xf+CYkglbX iQ5+gOZR7Knu+jKxgOWaHKQnzEEgi4B9mpITDeofeU+p/Iw8lXfgJ6CG1BvAQF50MwHpQYSXgfBq+ 5KxWkf91DsvzNMRXNFuckRW/CTIf0eFxq/oQEHb7RqFDDRFevOTyB/2gO1QJ3VPfRALyFR1y1fr0g 1GetyX8ci2mc9GPeT8Rkz08MFdurzi+osJVdW6X/Ru56wXYhsiHX+vgq4mwLcFzVxFATVDNt8qKDw lrvgIXdhtUoq1XT+bipw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qVPad-00G9nq-3C; Mon, 14 Aug 2023 04:54:03 +0000 Received: from mail-yb1-xb2c.google.com ([2607:f8b0:4864:20::b2c]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qVPaa-00G9m3-1r for linux-arm-kernel@lists.infradead.org; Mon, 14 Aug 2023 04:54:02 +0000 Received: by mail-yb1-xb2c.google.com with SMTP id 3f1490d57ef6-d075a831636so4076451276.3 for ; Sun, 13 Aug 2023 21:54:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20221208; t=1691988839; x=1692593639; h=mime-version:references:message-id:in-reply-to:subject:cc:to:from :date:from:to:cc:subject:date:message-id:reply-to; bh=ogJuvI0Lkf+Yuih+DurfR+W3+Xn1MA7RZzUQYmHA7YU=; b=0RKzIn6koDHsmNKD3vUTVlfy+gCsC8Zdom9GW3R9G4boB+i1A4mdfR/DviuW1MzfJI iBrHJtyqYWeO4rOjXtB0Z2aNlE9OOvtV6k27K8Ge5Fn5TzMRMzDi/r6+eBbX2mG7wCwD jH7Mx6iAvmDJdH4gltsCakJoZrTdKq2w3lHeW8ZSX0nw1E25+43Mek7tspDJmoMkE4VT H97s1SL2MAzHbsQ8Pux27ezOy/4hhf14nAW2W2YgYvTx9+p0ZDrHJvMUT4wJi75UIeAI f6TfQdqDrAILsoH9d4kQkrFxg8KhPsIvkz4XrSsFB6rc3hMbNrx1B9ZlAA2W3qYww8Ic T5DQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1691988839; x=1692593639; h=mime-version:references:message-id:in-reply-to:subject:cc:to:from :date:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=ogJuvI0Lkf+Yuih+DurfR+W3+Xn1MA7RZzUQYmHA7YU=; b=j0SzXIwnh8c6z6SKMNW5jv7im11zbuS2Lgize+UHTtEeetEr5n4FVj/LFC5EqLJRE4 lqd0/w5VsO8XAudc8n7FmAujh/ML3/Jp22wfHOHPZWexLj229/6RwG3OMoEq7Am8chxp NyvlCwrQNIIw+REkV/pTpTbhCVDg7leuJUbNTdQL3GsEIQNTyiJZ4/18GxXHlAJShSWc lOMaTWESjPyIeylbLykZm63hDvBXri0nfSkCdh456HAuDclwb2bYqh7RIE2olWzXHxlg Xua/KyhJxEiqQWTBz5Z6BACE6N/iiHCVD+p+Hxg4oI8CJTvNOMQnCgyTdBC49LIGO3a2 uQdQ== X-Gm-Message-State: AOJu0YyPoGqlOxk7H3Y19yAUytUCOfZffXIQKs9yUAH8cckhTZ7W8jmZ apvKkP82tqtifAGJRdQ/nXDDGQ== X-Google-Smtp-Source: AGHT+IFplfKuoRRn6Epo2m0elbmr5ruqZVLwUt9AiRMx3Fs4tCTDJsrnYMhza9hSiTIGD/lg4DaPxA== X-Received: by 2002:a5b:88b:0:b0:d32:b6c5:d5a2 with SMTP id e11-20020a5b088b000000b00d32b6c5d5a2mr8728372ybq.17.1691988839274; Sun, 13 Aug 2023 21:53:59 -0700 (PDT) Received: from ripple.attlocal.net (172-10-233-147.lightspeed.sntcca.sbcglobal.net. [172.10.233.147]) by smtp.gmail.com with ESMTPSA id e203-20020a2569d4000000b00d682d2d1d62sm1286312ybc.51.2023.08.13.21.53.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 13 Aug 2023 21:53:58 -0700 (PDT) Date: Sun, 13 Aug 2023 21:53:57 -0700 (PDT) From: Hugh Dickins X-X-Sender: hugh@ripple.attlocal.net To: Andrew Morton cc: Mike Kravetz , Russell King , Catalin Marinas , Will Deacon , Palmer Dabbelt , linux-arm-kernel@lists.infradead.org, linux-riscv@lists.infradead.org, linux-mm@kvack.org Subject: [PATCH 3/3] riscv: include asm/cacheflush.h in asm/hugetlb.h In-Reply-To: <6d2acfa4-7f44-d3b4-b0a8-5495c5985e4c@google.com> Message-ID: <84bd3b96-8dbe-51b1-d7d1-6e4f9d8937d8@google.com> References: <6d2acfa4-7f44-d3b4-b0a8-5495c5985e4c@google.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230813_215400_634336_9CCA7270 X-CRM114-Status: GOOD ( 11.04 ) 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 PG_dcache_clean is used in asm/hugetlb.h but defined in asm/cacheflush.h: builds rely on an accident of that being included via linux/mempolicy.h, but better include it directly (like arch/sh/include/asm/hugetlb.h does). Signed-off-by: Hugh Dickins --- arch/riscv/include/asm/hugetlb.h | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/riscv/include/asm/hugetlb.h b/arch/riscv/include/asm/hugetlb.h index ce1ebda1a49a..34e24f078cc1 100644 --- a/arch/riscv/include/asm/hugetlb.h +++ b/arch/riscv/include/asm/hugetlb.h @@ -2,6 +2,7 @@ #ifndef _ASM_RISCV_HUGETLB_H #define _ASM_RISCV_HUGETLB_H +#include #include static inline void arch_clear_hugepage_flags(struct page *page)