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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 33D91C001DC for ; Mon, 24 Jul 2023 02:20:39 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229789AbjGXCUi (ORCPT ); Sun, 23 Jul 2023 22:20:38 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56384 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230174AbjGXCUd (ORCPT ); Sun, 23 Jul 2023 22:20:33 -0400 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 93769185 for ; Sun, 23 Jul 2023 19:20:18 -0700 (PDT) Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 36E64DE0; Sun, 23 Jul 2023 19:21:01 -0700 (PDT) Received: from [10.162.41.7] (unknown [10.162.41.7]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id E7C943F6C4; Sun, 23 Jul 2023 19:20:15 -0700 (PDT) Message-ID: Date: Mon, 24 Jul 2023 07:50:13 +0530 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.11.0 Subject: Re: [PATCH -next] arm64: Remove unsued extern declaration init_mem_pgprot() To: YueHaibing , catalin.marinas@arm.com, will@kernel.org, mark.rutland@arm.com Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org References: <20230720143555.26044-1-yuehaibing@huawei.com> Content-Language: en-US From: Anshuman Khandual In-Reply-To: <20230720143555.26044-1-yuehaibing@huawei.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 7/20/23 20:05, YueHaibing wrote: > commit a501e32430d4 ("arm64: Clean up the default pgprot setting") > left behind this. This commit indeed left the declaration behind. > > Signed-off-by: YueHaibing Reviewed-by: Anshuman Khandual > --- > arch/arm64/include/asm/mmu.h | 1 - > 1 file changed, 1 deletion(-) > > diff --git a/arch/arm64/include/asm/mmu.h b/arch/arm64/include/asm/mmu.h > index 4384eaa0aeb7..94b68850cb9f 100644 > --- a/arch/arm64/include/asm/mmu.h > +++ b/arch/arm64/include/asm/mmu.h > @@ -64,7 +64,6 @@ extern void arm64_memblock_init(void); > extern void paging_init(void); > extern void bootmem_init(void); > extern void __iomem *early_io_map(phys_addr_t phys, unsigned long virt); > -extern void init_mem_pgprot(void); > extern void create_mapping_noalloc(phys_addr_t phys, unsigned long virt, > phys_addr_t size, pgprot_t prot); > extern void create_pgd_mapping(struct mm_struct *mm, phys_addr_t phys,