arm64: Remove unsued extern declaration init_mem_pgprot()
PATCH 1/1 arm64: Remove unsued extern declaration init_mem_pgprot()
commit a501e32430d4 ("arm64: Clean up the default pgprot setting") left behind this.
Signed-off-by YueHaibing <[email protected]>
--- arch/arm64/include/asm/mmu.h | 1 - 1 file changed, 1 deletion(-)
arch/arm64/include/asm/mmu.h +0 -1
@@ -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,
Signature · 1 line
2.34.1
Quoted 2 lines · YueHaibing
commit
a501e32430d4("arm64: Clean up the default pgprot setting") left behind this.
This commit indeed left the declaration behind.
Quoted 2 lines
Signed-off-by YueHaibing <[email protected]>
Reviewed-by Anshuman Khandual <[email protected]>
Quoted 16 lines
--- arch/arm64/include/asm/mmu.h | 1 - 1 file changed, 1 deletion(-)arch/arm64/include/asm/mmu.h +0
-1@@ -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,
Quoted 4 lines · YueHaibing
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,
Signature · 5 lines
Will https://fixes.arm64.dev https://next.arm64.dev https://will.arm64.dev