Re: 6.2-rc7 fails building on Talos II: memory.c:(.text+0x2e14): undefined reference to `hash__tlb_flush'
From: Erhard F.
Date: Thu Feb 16 2023 - 06:10:17 EST
On Thu, 16 Feb 2023 06:29:52 +0000
Christophe Leroy <christophe.leroy@xxxxxxxxxx> wrote:
> Can you try with :
>
> diff --git a/arch/powerpc/include/asm/book3s/64/tlbflush.h
> b/arch/powerpc/include/asm/book3s/64/tlbflush.h
> index d5cd16270c5d..2bbc0fcce04a 100644
> --- a/arch/powerpc/include/asm/book3s/64/tlbflush.h
> +++ b/arch/powerpc/include/asm/book3s/64/tlbflush.h
> @@ -97,8 +97,8 @@ static inline void tlb_flush(struct mmu_gather *tlb)
> {
> if (radix_enabled())
> radix__tlb_flush(tlb);
> -
> - return hash__tlb_flush(tlb);
> + else
> + hash__tlb_flush(tlb);
> }
>
> #ifdef CONFIG_SMP
With the patch applied my 6.2-rc7 .config builds. Thanks Christophe!
Regards,
Erhard