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