diff mbox series

[-next] arm64: mm: Remove unused declaration early_io_map()

Message ID 20240805140038.1366033-1-yuehaibing@huawei.com (mailing list archive)
State New, archived
Headers show
Series [-next] arm64: mm: Remove unused declaration early_io_map() | expand

Commit Message

Yue Haibing Aug. 5, 2024, 2 p.m. UTC
Commit bf4b558eba92 ("arm64: add early_ioremap support") removed the
implementation but leave declaration.

Signed-off-by: Yue Haibing <yuehaibing@huawei.com>
---
 arch/arm64/include/asm/mmu.h | 1 -
 1 file changed, 1 deletion(-)

Comments

Catalin Marinas Aug. 5, 2024, 2:55 p.m. UTC | #1
On Mon, Aug 05, 2024 at 10:00:38PM +0800, Yue Haibing wrote:
> Commit bf4b558eba92 ("arm64: add early_ioremap support") removed the
> implementation but leave declaration.
> 
> Signed-off-by: Yue Haibing <yuehaibing@huawei.com>

Acked-by: Catalin Marinas <catalin.marinas@arm.com>

The '-next' in the subject confused me a bit. We normally use it when we
fix something that's in linux-next only. Anyway, the patch looks good
for 6.12.
Anshuman Khandual Aug. 6, 2024, 6:06 a.m. UTC | #2
On 8/5/24 20:25, Catalin Marinas wrote:
> On Mon, Aug 05, 2024 at 10:00:38PM +0800, Yue Haibing wrote:
>> Commit bf4b558eba92 ("arm64: add early_ioremap support") removed the
>> implementation but leave declaration.
>>
>> Signed-off-by: Yue Haibing <yuehaibing@huawei.com>
> 
> Acked-by: Catalin Marinas <catalin.marinas@arm.com>
> 
> The '-next' in the subject confused me a bit. We normally use it when we
> fix something that's in linux-next only. Anyway, the patch looks good
> for 6.12.

Right, this did not require an -next tag in there as the patch can be
applied on latest mainline release i.e v6.11-rc2.

Reviewed-by: Anshuman Khandual <anshuman.khandual@arm.com>
Will Deacon Aug. 16, 2024, 3:16 p.m. UTC | #3
On Mon, 05 Aug 2024 22:00:38 +0800, Yue Haibing wrote:
> Commit bf4b558eba92 ("arm64: add early_ioremap support") removed the
> implementation but leave declaration.
> 
> 

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

[1/1] arm64: mm: Remove unused declaration early_io_map()
      https://git.kernel.org/arm64/c/4960f9a5a5ac

Cheers,
diff mbox series

Patch

diff --git a/arch/arm64/include/asm/mmu.h b/arch/arm64/include/asm/mmu.h
index 65977c7783c5..fc414cfd337e 100644
--- a/arch/arm64/include/asm/mmu.h
+++ b/arch/arm64/include/asm/mmu.h
@@ -63,7 +63,6 @@  static inline bool arm64_kernel_unmapped_at_el0(void)
 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 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,