Message ID | 84bd3b96-8dbe-51b1-d7d1-6e4f9d8937d8@google.com (mailing list archive) |
---|---|
State | New |
Headers | show
Return-Path: <owner-linux-mm@kvack.org> 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 BD8BEC001B0 for <linux-mm@archiver.kernel.org>; Mon, 14 Aug 2023 04:54:02 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 60F526B0075; Mon, 14 Aug 2023 00:54:02 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 5BF6B8D0002; Mon, 14 Aug 2023 00:54:02 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 4AEC98D0001; Mon, 14 Aug 2023 00:54:02 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0016.hostedemail.com [216.40.44.16]) by kanga.kvack.org (Postfix) with ESMTP id 3D8816B0075 for <linux-mm@kvack.org>; Mon, 14 Aug 2023 00:54:02 -0400 (EDT) Received: from smtpin13.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay05.hostedemail.com (Postfix) with ESMTP id 0199740196 for <linux-mm@kvack.org>; Mon, 14 Aug 2023 04:54:01 +0000 (UTC) X-FDA: 81121493124.13.F7D09F9 Received: from mail-yb1-f169.google.com (mail-yb1-f169.google.com [209.85.219.169]) by imf20.hostedemail.com (Postfix) with ESMTP id 376501C0007 for <linux-mm@kvack.org>; Mon, 14 Aug 2023 04:54:00 +0000 (UTC) Authentication-Results: imf20.hostedemail.com; dkim=pass header.d=google.com header.s=20221208 header.b=0RKzIn6k; dmarc=pass (policy=reject) header.from=google.com; spf=pass (imf20.hostedemail.com: domain of hughd@google.com designates 209.85.219.169 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=1691988840; 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=ogJuvI0Lkf+Yuih+DurfR+W3+Xn1MA7RZzUQYmHA7YU=; b=ZjXtq55apx0XnnE3aiK69zuTKNcbODJspDrf5tW5ttRhty4i2dAvdc/IzJp0Wb/Bdg8Tzd +OX5cWYxYCtv8nfKaknEvL0mn5GkAebgmQyx3vPB+L6LfapakFH9mJvqgrBPhleBHD36SZ xtttX//CxFzgAscWxLf6GNhs0GN5ncA= ARC-Authentication-Results: i=1; imf20.hostedemail.com; dkim=pass header.d=google.com header.s=20221208 header.b=0RKzIn6k; dmarc=pass (policy=reject) header.from=google.com; spf=pass (imf20.hostedemail.com: domain of hughd@google.com designates 209.85.219.169 as permitted sender) smtp.mailfrom=hughd@google.com ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1691988840; a=rsa-sha256; cv=none; b=VyuPd3lZbYD1FMUX4SVsxyHHez5Xs1th1TVwSSBXJLzeHtn4O1rZQeRycsLD8f0lDGt3/J /xsJkvJWzn54P/D5LpDs8Xyo/wnOPW+lpV5pYCuYwjU3gHjaG4Bm+Zq2SWqrpwNwFEHM7m BIcMfpVqmLJbw6sgJgyogQrKI5ld0pc= Received: by mail-yb1-f169.google.com with SMTP id 3f1490d57ef6-d4364cf8be3so4086435276.1 for <linux-mm@kvack.org>; Sun, 13 Aug 2023 21:53:59 -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=WJ/5H+2NgvpsQ7lnuIOVlsw7KKLzKWCVQdQwJqABs+Fvql25Dx3uzQmvOOieRnId33 WZQWQdUvSwSnmhRY78Ad/VH4VTu5kiSnDCDpN4EGPdfR/zEDlsPsZPTWejU9ANwt5+fD peZYHRDx8cGj3bs37XdVqwEkNbewYQqupS3+exoSPF/43F7Q+0tfNvzx1d/1Xu54Vq0K tLMxt2XlSw+THRyviuNkKyNDUNFV+tx39K7vMT2S1yCaI5pdfjjubRtpV5zJ+6GZFWtW Lz6Tcklo2j+F7NHpGET5Hqqo0Lbaqayj+MFF7/k5eZ0AnqipX7bmy5FSW9K/Q30krg89 bE9g== X-Gm-Message-State: AOJu0YyfB26pFu4RmiDUkzItnnlD0WjVOFpz6SGKRIt4H0XTwpf6VmPf vz7Df7MY1orkdIzV9s6QLZNKTw== 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 <hughd@google.com> X-X-Sender: hugh@ripple.attlocal.net To: Andrew Morton <akpm@linux-foundation.org> cc: Mike Kravetz <mike.kravetz@oracle.com>, Russell King <linux@armlinux.org.uk>, Catalin Marinas <catalin.marinas@arm.com>, Will Deacon <will@kernel.org>, Palmer Dabbelt <palmer@dabbelt.com>, 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 Content-Type: text/plain; charset=US-ASCII X-Rspamd-Queue-Id: 376501C0007 X-Rspam-User: X-Rspamd-Server: rspam05 X-Stat-Signature: 7gq18zpy4atiffx5n1c3gyu7stcedebf X-HE-Tag: 1691988839-324173 X-HE-Meta: U2FsdGVkX19l/hbWUQVBVZZpAL3AgHTnviBkfHJmhPThYCSc1zOwi2yVz2XbOqHEYaBPgd5DHynIUZNUGNjrIDxELbULRkDgcBpsxcjGvsR4XC7H8b00fI07buOgLReWh4XcKIvsq8QANAAJMQI/3P0RxtrsX/zrSRDRjR3gY1+NE/6wd+MyGu2zmdu7kQGQhTOfQQY6lVtesj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caJ8QT+Cy2fMjqVblxhvQZLGHUrWOfIxAJJc4qZF/Gv9u1bQydTQcbdYVHR3JdNkPp6cZITcndmUk1jJWDATw 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: <linux-mm.kvack.org> |
Series |
arch: include asm/cacheflush.h in asm/hugetlb.h
|
expand
|
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 <asm/cacheflush.h> #include <asm/page.h> static inline void arch_clear_hugepage_flags(struct page *page)
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 <hughd@google.com> --- arch/riscv/include/asm/hugetlb.h | 1 + 1 file changed, 1 insertion(+)