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: 13352371 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 61FEBC001B0 for ; Mon, 14 Aug 2023 04:52:44 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id AC92B6B0075; Mon, 14 Aug 2023 00:52:43 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id A79DB8D0002; Mon, 14 Aug 2023 00:52:43 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 940D48D0001; Mon, 14 Aug 2023 00:52:43 -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 8478B6B0075 for ; Mon, 14 Aug 2023 00:52:43 -0400 (EDT) Received: from smtpin14.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay03.hostedemail.com (Postfix) with ESMTP id 56FB4A027E for ; Mon, 14 Aug 2023 04:52:43 +0000 (UTC) X-FDA: 81121489806.14.3630FEE Received: from mail-yb1-f178.google.com (mail-yb1-f178.google.com [209.85.219.178]) by imf20.hostedemail.com (Postfix) with ESMTP id 852051C0012 for ; Mon, 14 Aug 2023 04:52:41 +0000 (UTC) Authentication-Results: imf20.hostedemail.com; dkim=pass header.d=google.com header.s=20221208 header.b=6JHbjA8d; spf=pass (imf20.hostedemail.com: domain of hughd@google.com designates 209.85.219.178 as permitted sender) smtp.mailfrom=hughd@google.com; dmarc=pass (policy=reject) header.from=google.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1691988761; 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=hN9qvX/xkO4ChcVbhI2c0MqS74wWxK/MncyAQVTXkuY=; b=qwxpuEPE/cVy40EimFWSXF7Nx6CYHg1K525W8HM7I3Z5IQMf/HNS/1oK2g8r+rWEo2HP3V TTVHuxVC3FJQaF/auPsBHUBI23Vnu6dLpP9bOI5uYngzXlH1tMTfEVjossVm/aiSC9dNtj zT4yym8lWp3I0jepq21xlui5HGY88R0= ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1691988761; a=rsa-sha256; cv=none; b=U2bLOagx7ecKEEiYqicmoiBHe2abOB+rq90mNarfkx2wVvjVh7fNzcdPgwnuwXaB8xNqH2 Kt4FugfJn0chP60g3zGizae0TQBIUuO7eG0OdBtWgbfa7cgnkHmgDCOaoYjWkyhKf8HcE4 +rPZUfh8CqsDd4H5A1CozHNILSNK3/w= ARC-Authentication-Results: i=1; imf20.hostedemail.com; dkim=pass header.d=google.com header.s=20221208 header.b=6JHbjA8d; spf=pass (imf20.hostedemail.com: domain of hughd@google.com designates 209.85.219.178 as permitted sender) smtp.mailfrom=hughd@google.com; dmarc=pass (policy=reject) header.from=google.com Received: by mail-yb1-f178.google.com with SMTP id 3f1490d57ef6-d299ed34bacso7134049276.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=PDGRaZ4tz4eN2Onb3dWVaskRdgsegnvtGGuzMrkDYIemakTufqaUJZBgpU7w4x8Ita S+lBath7i7VxhPrWZqo+ipp3le/UePwng3y2lcFFgMt0UrnNEtLBf3+ebJzGirSvUogT CT2XkBCyOAjC6BYF5wsNQgtaZElq/5mLzoPlZeoehRVFU9lC5NmYM4Xzc60PnSVLAMVQ L3Lz0nKPsrznETRui5BxNIkKODTTh8ioifOhO728CZppR/qoBvlXrMdC8CzBjqpJgIww 0XQh7or9wLTLYS10YD9wds73GGEfJKbJ7gCbOGwMTTsW96B8PqDT7XoN3fd4+SbCLkcg xJbg== X-Gm-Message-State: AOJu0YxCCrLseoDws9w0uCyABxsjkoWtPeA82NJLRla5i7TS7vrRAXFF SSjDvzRpSKf9cERCdUCms4ZLBw== 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-Rspamd-Queue-Id: 852051C0012 X-Rspam-User: X-Rspamd-Server: rspam11 X-Stat-Signature: awj41sb8ysjcxcnkmsjwfnkp8nd36kii X-HE-Tag: 1691988761-490977 X-HE-Meta: U2FsdGVkX1/NLocq/u9CbkDPEpYLotIWG9i64VoUOwkqN3QPt0z2rEnQ5LcXWc5kz1oz2yX36jZn6qhjrqakM7nUB+woD5+4AxlW9DKmk5wHMqGGqxrMX90cMoxaRAkub/eARJ0hNFH94eev9d1/xDDOKuN1UDOYGo52Sq9oavavtWhFJPbLGd0uQ7u9QdkWUi7rfbK+rTbxMSnouKSkO6gD4t6mDxMZlwFlNZe3Cb2emJXGmx0lOEuqPkd22GyiybMq9j7LE5dfrB5HsVyB5Wa4y9vbqA1/6EN2VdiLgdDlv6rCUuRgSO4seDndVB6vuKgAvb2KYFnygy3wM17qLJCr9vMZtS/URDK5ycGPvmxNR+PQd2tO16sgHgvbY1byh4VMR9mYIaZ3ekj42oMDgSXcZ96UODc2ZUzxUJGuaO99MDKsj4MhYBJBCZO0LVk5U2ci5EZcP0UNq0uxIfYxk/a3SZHmS1Wu3SqxVUme4vy2M/7Ux+vg2STq3C2a0AOWFmjoUu+9mRgk+itv7d+sLcgG07+dDIsUaj4giTGCZscjodhMSb9KmH5CGM67q8HXdnwSUZVvRsIe365R3C1S/AIto2GuCh9zFpjVnmOB7N0X8r8Hcom6eVOgB7aWqgwiRq6yg07aJZ/Iick1QNLJuMInvsfBvTuYGpXr0quZIZd6vc+MF9ypdZD7I2dMm6HnHiuHfwqX6TlPxeYwUA12/t4kCkaydvFAjhB5n4o3DFkX+lyVk6Qsw7w9dBFLlPTIGkXLmLlEv/GRSZGMMTidSa6GbYtPp5L2R4slfBkrD/cOTRip/eSj7vnpq/mgoBDfbOsg3BtMt99i5gpHMfJYU5puop5UAsdvk7+gdTGNPAUQQd57H1CYcNJWZW2r3UrTR/pB5WpXCj8NV+jMw1Q0nzAp3vDT71NWFSNLolDMsftd52O+P8sDIU5ic+16fBKr+KJvKSFbWtQh/fMctxD UqR2l9p5 nJUnWJiqd4y4bsVWHxjkaHMplU9SYXilDD+Q4TC3eYe4elpeoNF0iqvd5eE7lvFvT9IHHYuj8zZF23Sdna6n2GBbyBDIds+pcGRjJrn9LZQatbcZHhs2HRXfhK6LsoadWiPdut6CoIBIT2pQmBqtSRkBdkHpIhBulEfHqZvUklKfrWitUE6tO90sC8shIW6HfWkTeE1+R7lHutsCfizCKT2MKrh4p5t0ilVsU2w1IXIXv2Ur1bN2GuynyEqgbuV4fNmjRodUvkvDVyUoWaHde8ST6rrbM3BArXCcOBpsLhCUPWQaBVnjFIOR1cE46f3OcgDrqQvntIjps1+ZduBFWzOmu8t0FtbUyQcN8VxYK9BoWcyI5WF77TxnTux0kY+uE84oqFNFkUlI+neu7FHSchQL4VrpQ2VOazyYz 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/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