[PATCH -next] arm64: Remove unsued extern declaration init_mem_pgprot()

YueHaibing posted 1 patch 2 years, 6 months ago
arch/arm64/include/asm/mmu.h | 1 -
1 file changed, 1 deletion(-)
[PATCH -next] arm64: Remove unsued extern declaration init_mem_pgprot()
Posted by YueHaibing 2 years, 6 months ago
commit a501e32430d4 ("arm64: Clean up the default pgprot setting")
left behind this.

Signed-off-by: YueHaibing <yuehaibing@huawei.com>
---
 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,
-- 
2.34.1
Re: [PATCH -next] arm64: Remove unsued extern declaration init_mem_pgprot()
Posted by Will Deacon 2 years, 6 months ago
On Thu, 20 Jul 2023 22:35:55 +0800, YueHaibing wrote:
> commit a501e32430d4 ("arm64: Clean up the default pgprot setting")
> left behind this.
> 
> 

Applied to arm64 (for-next/mm), thanks!

[1/1] arm64: Remove unsued extern declaration init_mem_pgprot()
      https://git.kernel.org/arm64/c/42501f6d4d5d

Cheers,
-- 
Will

https://fixes.arm64.dev
https://next.arm64.dev
https://will.arm64.dev
Re: [PATCH -next] arm64: Remove unsued extern declaration init_mem_pgprot()
Posted by Anshuman Khandual 2 years, 6 months ago
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 <yuehaibing@huawei.com>

Reviewed-by: Anshuman Khandual <anshuman.khandual@arm.com>

> ---
>  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,