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: 13352377 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 A65B1C04A6A for ; Mon, 14 Aug 2023 04:52:49 +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=RY+wXQbF0QqX0daD6f5lhyRJr4O8w2RQnuZC2ji4jRY=; b=1WD5AEzB5mOv08 Lt31E6MFGGkzxxPNC+MepAz8Eownih/4W92NycggYfeg1/pPAQoeH0S+QIWksg6VzS5RvdA35E2rP o1vntp64tYMCqHsHkba5tgvuMokCI39vKfwj66NWUjfTnVla7N0WwSdwbx0FzS8s4X+PZQF2fUTVG GEaAxHh3WELrc/Bfu1P+yHf02wajOJQJGp/yA8OrJsTArwBKJcd2W56Gv/C1nAghYUNT+3rLK46l/ X185HqhaV+nP8Re0Bl0wb6dSgqG4p3/MLuqI8Q/vXzT9+fBwDQA8zQiJdQmLt6fR/TMq/ExB0Rx6l 8HkL0MzgWxP9gz1FHjZA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qVPZM-00G9RJ-2V; Mon, 14 Aug 2023 04:52:44 +0000 Received: from mail-yb1-xb2e.google.com ([2607:f8b0:4864:20::b2e]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qVPZK-00G9Pz-0P for linux-riscv@lists.infradead.org; Mon, 14 Aug 2023 04:52:43 +0000 Received: by mail-yb1-xb2e.google.com with SMTP id 3f1490d57ef6-d67305c80deso3432750276.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=kLN3iya3YQ8TDn96BCs0MDw48UW4K6LlL3U1J9vvffaVRyUbSWWGyYCWscimECyQ/4 U/FkBs30ujMOl4mJaWZ6OtaynhczbXGpv5UKS+o9Nuh92R9wnQHsRshlQ66uzhN1S2uy bToPHeMGDSo7S1+vJdCFWmL8trSeDaqpeSlEWrjoGJrBl5KFAyTi7zimfaPCbMBLUfUo 2+wJTxqn5misvE7teMB6K7z0AQ8INteBy84hGl/Lz1upvgoRq39EEc6wn4RMmXjEpWoM XDEE/Ulll2CDa6SCWKKykUnNJ1uw7M78meUTxxE4Bbr/fMmYurYW6BbbNPEqjPMiLGpz H+wg== X-Gm-Message-State: AOJu0YxhbiNfaSRfsMvjtAmxXjuP5fSTek1CIFuLp7kxabI3Q9CKSAu8 zrg2sd60yWxCFyZ2N+wvNJks0g== 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_162405_C1236B01 X-CRM114-Status: UNSURE ( 9.77 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-riscv@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-riscv" Errors-To: linux-riscv-bounces+linux-riscv=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: 13352378 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 B8B10C001B0 for ; Mon, 14 Aug 2023 04:53:26 +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=Q8CWonNI9BzUUDHOOJjv1QnKAVWrx0guttsjQVxWxek=; b=wAnWj1Ag4ckR+B AGWugC03zdsSzSG9slYygFW6vS0w8sprrCfCNdZ1oGeOwvrbdw1Y3m14gq0Dm6O5+FN+NkMgN7mzT xDioxh/asFAEEYQk0nDV6mOzaL9x7KC9r0vRI+xiwvusO82eN9YH4qs6r0+FenMWMjMIeeMwtXBl5 orbGxxypgUWtjfB2mHEVFZS1X3LJWkzPWLsQNNjxH3PjFldiv5f07UHrw00Wa491L0rN3cCr+gEH/ iyznPlR4polW3cFlyxGKFguS/cmnKbUVIiGn6mA7Xo3w9BOKeUk/zDAvVc+JFiO8PMZH+aDHswQ2r rwpQ7k4hc/xRpEYhY4NQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qVPZz-00G9cd-1p; Mon, 14 Aug 2023 04:53:23 +0000 Received: from mail-yb1-xb32.google.com ([2607:f8b0:4864:20::b32]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qVPZx-00G9bB-05 for linux-riscv@lists.infradead.org; Mon, 14 Aug 2023 04:53:22 +0000 Received: by mail-yb1-xb32.google.com with SMTP id 3f1490d57ef6-d62ae3fc7f1so2819589276.2 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=Sr+q/SwhZbgrMcB8pDLKO3sUYCmbD9dyea/quYTu0YqA/xlYDsrMP9UXJ0SjXxagwp Bdrztx0TfSnZMrlmfXT+zCZRqgV6MQKGSE/s4njwaznfGfglGhoLIBcs8RxqFKhVM8VN KsjxSurMWOVPA8IrL9pbRqEae4A1TUpZSK5PL9zTqOlNYVpGAvQak1dPTvXjA41UALZq ArMuA4iL+jG/K7v6lWVwMThoOf23MmZA2KnahyI0kyQmX+Grt6iAQuQmxyhfkS2s/nFT cDUpXlzvH/I6FX2Z/qr1qFMTz4MO0mvnFF6koL8aq1iAIszDwBm1KFObl4N2cotdzcUA rNXQ== X-Gm-Message-State: AOJu0YzoHQByfeUsxTJ0gBxauC1OawBu8JF0vnztqvdGWEfKL4l/nKZd xWm7m//Zeld1/dTfj0S63X8mxHO483oGuJQqKXaBdQ== 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_063219_35B5EF66 X-CRM114-Status: UNSURE ( 9.44 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-riscv@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-riscv" Errors-To: linux-riscv-bounces+linux-riscv=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: 13352379 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 D5345C001B0 for ; Mon, 14 Aug 2023 04:54:07 +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=OcCXwbFh49vK0J7djcPu/aVbeZtdt/g2PWtyhzmPkjU=; b=RdG+4vtZjfe6RD vIoKgeAAjN0NQ4z/C4uyQsRl1MYiXR1VHVqqmYscnznYpIAoUCW0bUPfwWCj65IADJm9cSakndPUD atZJfXndyzhDp3/6cEGRhbVzDZS8RobK3/zvmXHnN1bueGzaV/Xu49Dc9c+ZQ1NRC8E8Sd3BLSbJz DGSNihBmMEixi/pnBjyGXUN/8urk5x+VCc+3idYbFM4B/dlktUxN8wUIR4hk6SVyWwDRi64JgN8YG BbC3fLf5R3f1/D6VcW6ixijdvq2x+YkvHnvn+XBG6od9GFTLR3STcS0mYKcAIXgYz2U20Y97Mu2Qj Kp37b8980gYlCPhvJoOw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qVPad-00G9nZ-1O; Mon, 14 Aug 2023 04:54:03 +0000 Received: from mail-yb1-xb31.google.com ([2607:f8b0:4864:20::b31]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qVPaa-00G9m4-1r for linux-riscv@lists.infradead.org; Mon, 14 Aug 2023 04:54:02 +0000 Received: by mail-yb1-xb31.google.com with SMTP id 3f1490d57ef6-d684d7a2a67so2011106276.0 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=RhhlGhggNC0bpChaIVgfVsnL9dCWb3mNonZmzjdSdkk66SqaPCdRRGKuCUVMpXxiC8 4G/uGNfa+ziAvYRJqisv7lCI3WxKH50695jkg/BXr0rygq/WwetdG9v3DCUiYotZclqh tHktAHRgtB2AdvNJwDcDaF9f/74UFerhxFJ3O99KszsPeD6Xc1oZq+/bK0LYzyEU/TaY AnUTuiyI6OV613GswswKtW/wazgZ9KLgRa+hctMNH3znxu93A4vKiOR+7yBDgxOHP2jm dH0JnSf7XoJiRJeaOaqLAfHGKYDvaK09ZnJ6k63Zt1ulYZv0tappCxOtBPfFVxYWe8fv JAdg== X-Gm-Message-State: AOJu0Yy+Xje9n3kW7ZJbE5Ntkbo5wDoS7/1XBHFS5QaRYHX3GwCG154n W9jzoH9gR7Q8QGcqLJhMGjTwkpQOhS/DeM/q/vm+uw== 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_635977_417A7833 X-CRM114-Status: UNSURE ( 9.45 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-riscv@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-riscv" Errors-To: linux-riscv-bounces+linux-riscv=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)