arm64: Remove unsued extern declaration init_mem_pgprot()
authorYueHaibing <yuehaibing@huawei.com>
Thu, 20 Jul 2023 14:35:55 +0000 (22:35 +0800)
committerWill Deacon <will@kernel.org>
Thu, 27 Jul 2023 10:18:02 +0000 (11:18 +0100)
commit a501e32430d4 ("arm64: Clean up the default pgprot setting")
left behind this.

Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Reviewed-by: Anshuman Khandual <anshuman.khandual@arm.com>
Link: https://lore.kernel.org/r/20230720143555.26044-1-yuehaibing@huawei.com
Signed-off-by: Will Deacon <will@kernel.org>
arch/arm64/include/asm/mmu.h

index 4384eaa..94b6885 100644 (file)
@@ -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,