6.2-rc7 fails building on Talos II: memory.c:(.text+0x2e14): undefined reference to `hash__tlb_flush'

Erhard F. erhard_f at mailbox.org
Thu Feb 16 22:10:05 AEDT 2023


On Thu, 16 Feb 2023 06:29:52 +0000
Christophe Leroy <christophe.leroy at csgroup.eu> 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


More information about the Linuxppc-dev mailing list