From mboxrd@z Thu Jan 1 00:00:00 1970 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 CDEBEC79FA0 for ; Mon, 7 Sep 2026 15:35:01 +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:In-Reply-To: Message-ID:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=MrtdvVR0bSy9/1r4ew4Cy137Q0AG/HSJbL5dGCs9e5o=; b=TXU4tjTQCTC/eE IVvm9cNBjfOk0Wh5wF9VAo/3fQuP5LWD4qJvTHXbixQaN1I9I2SkUftQPLeXcPQ3LvrCkGQEwlc4+ pixVYbb+U2ky35PzWkW+NW4ku8hHD9SOuHE3gfxBsdmtuf0TBhFMTZupimZkUunnXeF5jSxHh3eGs 8fwRyCpeHzgnPyB9B42VXPRLVjCvr2hUNK8psh/k6iSoBeZDxKqiy5JnESQsaVVWBWfXB5nI04cc6 vXVa4ykPTirzLspCJH2ngwRxeCJDpBeNLxXm0vvpGmHvzRAX/H+ksCHXQ+E8iIuhiXAXuEHRNPpoM h/k08KxoveDpU2GobfZQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.99.1 #2 (Red Hat Linux)) id 1x3bMv-00000007B0T-2U4Z; Mon, 07 Sep 2026 15:34:49 +0000 Received: from sea.source.kernel.org ([172.234.252.31]) by bombadil.infradead.org with esmtps (Exim 4.99.1 #2 (Red Hat Linux)) id 1x3bMt-00000007AzZ-3euy for linux-riscv@lists.infradead.org; Mon, 07 Sep 2026 15:34:47 +0000 Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) by sea.source.kernel.org (Postfix) with ESMTP id 9999141709; Mon, 7 Sep 2026 15:34:47 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 88AB91F00A3A; Mon, 7 Sep 2026 15:34:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1788795287; bh=A1WMEWftQfe3FQuEVzWJAAShiADDVwkA0Mf0m9ZcbKs=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=Jeq0YGq6bhKq73IyNWav30rXrgwxrFcZlZSb8uJISuCW4zLxIjOaQSLDYNxzQvirr No9pe5mXFeW64/rURB9fjvzy6xyBusMU4YYu1W8oLsLoeD+aWH9OISsB8VHh5s/fXO OXDhk7Swbl2fxLB2gHF3jt34WhbUkbqUyNvkwEg9NwcMbuwSDymSKxe5K4RENv+faw Pzz2pG4f/8PAGm9VM18EXzp/o90TwRRuMrKfNQpyz0klys9+7zYNdX42Sxeqo33kmg pYbkBOYxbsIb+RsJJA728p1sfkRbOiBLXaVRbACUHyUS1xh8tEsFGMCzGxfCDuEYOJ Bi3jTt2+5E+9w== From: Jisheng Zhang To: Paul Walmsley , Palmer Dabbelt , Albert Ou , Alexandre Ghiti , Andrey Ryabinin , Alexander Potapenko , Andrey Konovalov , Dmitry Vyukov , Vincenzo Frascino Cc: linux-riscv@lists.infradead.org, linux-kernel@vger.kernel.org, kasan-dev@googlegroups.com Subject: [PATCH v2 5/5] riscv: mm: unexport _pgtable_l4_enabled and _pgtable_l5_enabled Date: Mon, 7 Sep 2026 23:14:37 +0800 Message-ID: <20260907151437.7603-6-jszhang@kernel.org> X-Mailer: git-send-email 2.51.0 In-Reply-To: <20260907151437.7603-1-jszhang@kernel.org> References: <20260907151437.7603-1-jszhang@kernel.org> MIME-Version: 1.0 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: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-riscv" Errors-To: linux-riscv-bounces+linux-riscv=archiver.kernel.org@lists.infradead.org Now, these two vars are only used by kernel itself, especially the code before MMU on. No modules users any more, unexport them. Signed-off-by: Jisheng Zhang --- arch/riscv/mm/init.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/arch/riscv/mm/init.c b/arch/riscv/mm/init.c index 90bb85c5f167..ed800a4e0e8c 100644 --- a/arch/riscv/mm/init.c +++ b/arch/riscv/mm/init.c @@ -59,8 +59,6 @@ EXPORT_SYMBOL(satp_mode); #ifdef CONFIG_64BIT bool _pgtable_l4_enabled __ro_after_init = true; bool _pgtable_l5_enabled __ro_after_init = true; -EXPORT_SYMBOL(_pgtable_l4_enabled); -EXPORT_SYMBOL(_pgtable_l5_enabled); #endif phys_addr_t phys_ram_base __ro_after_init; -- 2.53.0 _______________________________________________ linux-riscv mailing list linux-riscv@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-riscv