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: 13352372 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 kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id 2B0FCC04A94 for ; Mon, 14 Aug 2023 04:53:23 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id A2D2F6B0078; Mon, 14 Aug 2023 00:53:22 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 9DDC78D0002; Mon, 14 Aug 2023 00:53:22 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 8CD968D0001; Mon, 14 Aug 2023 00:53:22 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0013.hostedemail.com [216.40.44.13]) by kanga.kvack.org (Postfix) with ESMTP id 7D7E26B0078 for ; Mon, 14 Aug 2023 00:53:22 -0400 (EDT) Received: from smtpin21.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay01.hostedemail.com (Postfix) with ESMTP id 6094B1C9224 for ; Mon, 14 Aug 2023 04:53:22 +0000 (UTC) X-FDA: 81121491444.21.0F07D73 Received: from mail-yb1-f171.google.com (mail-yb1-f171.google.com [209.85.219.171]) by imf15.hostedemail.com (Postfix) with ESMTP id 9C385A000D for ; Mon, 14 Aug 2023 04:53:20 +0000 (UTC) Authentication-Results: imf15.hostedemail.com; dkim=pass header.d=google.com header.s=20221208 header.b=eRcLuyNe; dmarc=pass (policy=reject) header.from=google.com; spf=pass (imf15.hostedemail.com: domain of hughd@google.com designates 209.85.219.171 as permitted sender) smtp.mailfrom=hughd@google.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1691988800; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:content-transfer-encoding: in-reply-to:in-reply-to:references:references:dkim-signature; bh=XuEMRB9XvbEbzX6uB9ErlyLpREyB8Dr00CoB38DVpTk=; b=Xd7QCC1gnKJwuGUuvJcya/36hQo83/fgQ+ESLJBwYfR9TD40vcf86iZ3hTcxe5jt55OyTO mKE3CLoiCKBIkDZm3b2VenD3TDGyjQZMbUv5Ylk+mHF7UKCk78okgqTxNRg5Odwi8g7AW5 J1/C/dbquVF+ujVG62q2ky8L7QF8c8I= ARC-Authentication-Results: i=1; imf15.hostedemail.com; dkim=pass header.d=google.com header.s=20221208 header.b=eRcLuyNe; dmarc=pass (policy=reject) header.from=google.com; spf=pass (imf15.hostedemail.com: domain of hughd@google.com designates 209.85.219.171 as permitted sender) smtp.mailfrom=hughd@google.com ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1691988800; a=rsa-sha256; cv=none; b=AXqXe4GL9C2c5QM4Xi9Vza1P1Xvefk4IbuO/NimSD2UEZRnkw0RcKDDhSzLQunhxJF/Q0C Q4OwPG9pL5U8k/p+d6tt9PIcONQb3J0JPYdvfIPQbEu7BU9fCO5qV96tgICJoUyarsRjZF jM2d4+i29f+gR6XuGYdshUyXvo9HS3o= Received: by mail-yb1-f171.google.com with SMTP id 3f1490d57ef6-d686e41823cso754689276.3 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=JIsFRnp64NufF52JOA4JytH24TzSEa0HyvWErz2cHJaywsPswIRid5ItM/9DcRuPL5 elnHvcbTK3eTBhBqGbJFuSExOW9ERd55oOOXKLhAmrQ2yyDDF6RzsaQ38+pYiBSWAYZm NREKYEh8n5UwxyFReNuPeAyPgP+sPG8tWF9eZD2FWC/kV7SpTq1SdRmQolH6TXPTTUKG D2NCqq2owYrAkuv8umLrGNoVGbj8uXCST3yJIy9zRC1xQc2nPdCvborJDqEbDKOz7fqd iWwlJhkGpPKr1KtnxDKV4vQfjn7hHovOUTXsuS89UvZ29+h4kJ+i1342tE6J1XJJvl1Q FCJQ== X-Gm-Message-State: AOJu0Yy3wFoF2rLeoJNTG9cRgWFrRitOPccsIJU54AL8Y6J9rmnME+ag UQc702L7E3v9Tnelk+5onhxNnA== 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-Rspamd-Queue-Id: 9C385A000D X-Rspam-User: X-Rspamd-Server: rspam05 X-Stat-Signature: 8aeufq14aa1k8rfbtox3xg67zmgy81ce X-HE-Tag: 1691988800-419054 X-HE-Meta: U2FsdGVkX19bNzaT47CAek1rFBmZpiWCNs7rFQAm5rnbNni9fFr8cyU44iBrt0+m2KpmJ2QTsGOwJOXs1bAw2VeyCDXCQMzultrZbznqoKJysHGya4xKh+CxoB+ymNoj31JEP5Nmjolxd6/PcAHDMmOakEfCYLJWEwXTPb6hwlaEirup+edFep5neX7TeHTTMJ16FD2ma5+Usk7g0NWbV4wXgpNFs49tAISVXae6PDJZDbO+JhGxGXblUZI0b6207o6eSTqepAD+B6RLPzh/q+KKd5Q3zXwEmKG88LQJv+QvY5ExbIGt01IW/cYP/RCxGbMwaES2YPdKCaaTn05RlSxqlBukX9gnZFhjybrEVJI9D5DU8HCpoP+71b7Sa6lGPflGr7nuDUmK+4tmQ/e/voA19yRHl4Vrvap8ur8cFlIkxTFFCbKIGyie2QLgFEXv3ZslQZW5LIKt1VUSFLwl0b4FLsVln50pcAFwlfkbC806AlT6IYcmSC3K19QP1VaLZPtk4eIz0ZEdTh6QGGzWtqXUpizIuvyqJOuQny9/l/bRUof5GCW86C5z1TTzKTBrAtdcttzOJRyhQcJn2Mg3sHnQgb6wAeNiqLuPTZZPrcwDcJQGbGmgO/ikf4oxW6UjqvJ0a2jSUs7H9D1K5OQoJYN/eO0OC6KNkgXtoLsFQCJIC959imyy24BTUiQ5YYqtk0fxdCgJk/UpgWN1+bR4OUZAMRqYsCoQNe0biE8SEHHPjANmD7OvMf0MQjakBCeogQZ1GUZYESRE+SwdLPt6zji3pYz/EGCwlQHQEGcTy7SvHvDEzqQPZ87rto5M+dQNiDFF52+/72U0ypXf2KmFoSkRaqbaZ4TONdB/ZhzZ8zogSVtvhJeHZbZNsHt8Cd651h84YfOmyUyMg3gof3jHBkr3+AKCRuvon8Jz1qAg+cg+OLLmyVdmnA1Le9PK8zIm3G/QPSUKZoByms0Trf/ C6Nn5FTp jWOliiCGdj/6xWmfDzOZBySeO6jl8Y6SnmXtxaTSzIlzpHA+QSa1zC6Y8jhg7G+PeUpjBgEP/idYEWI73qJG2vD9HqQtuMAJVjTsDvuRP5SxBB2FX5VkdoR291LZsStxwmg3y8MzeD5qnC5eDSn/0m2PPkc9AwR3icm6Q4S2sAvoJ7YtTfivdokS/1skp4e0SeFWNU5kIe3nsYSeFlNdNWEQPCoOAVU9Z/IjkXXzLiwGhDuL9Uw4ndyaKoxFJvVZtiWuvQog72ctcOs2kKeAXPsnVqM/VvE9qTKOmhjDEM5ZEDKHqo2+HL+LLdqpWjnwiaJcpXxCao0rxD7OpACeGiQmZWgC3z74Gms7XtMgKEFllKaZpvNKn2Mjg40WjdlAYUTme X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: 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