Re: [RFC v1 04/10] powerpc/64s/tlbflush-radix: Remove unused radix__flush_tlb_pwc()

Christophe Leroy (CS GROUP)
2026-03-04T08:56:04Z

Le 25/02/2026 à 12:04, Ritesh Harjani (IBM) a écrit :
> Commit 52162ec784fa
> ("powerpc/mm/book3s64/radix: Use freed_tables instead of need_flush_all")
> removed radix__flush_tlb_pwc() definition, but missed to remove the extern
> declaration. This patch removes it.
>
> Signed-off-by: Ritesh Harjani (IBM) <ritesh.list@gmail.com>

Reviewed-by: Christophe Leroy (CS GROUP) <chleroy@kernel.org>

> ---
> arch/powerpc/include/asm/book3s/64/tlbflush-radix.h | 1 -
> 1 file changed, 1 deletion(-)
>
> diff --git a/arch/powerpc/include/asm/book3s/64/tlbflush-radix.h b/arch/powerpc/include/asm/book3s/64/tlbflush-radix.h
> index a38542259fab..de9b96660582 100644
> --- a/arch/powerpc/include/asm/book3s/64/tlbflush-radix.h
> +++ b/arch/powerpc/include/asm/book3s/64/tlbflush-radix.h
> @@ -92,7 +92,6 @@ extern void radix__flush_tlb_page_psize(struct mm_struct *mm, unsigned long vmad
> #define radix__flush_tlb_page(vma,addr) radix__local_flush_tlb_page(vma,addr)
> #define radix__flush_tlb_page_psize(mm,addr,p) radix__local_flush_tlb_page_psize(mm,addr,p)
> #endif
> -extern void radix__flush_tlb_pwc(struct mmu_gather *tlb, unsigned long addr);
> extern void radix__flush_tlb_collapsed_pmd(struct mm_struct *mm, unsigned long addr);
> extern void radix__flush_tlb_all(void);
>