[PATCH] powerpc/40x: Fix assembler warning about r0

Christophe Leroy christophe.leroy at csgroup.eu
Thu Aug 6 18:26:23 AEST 2020



Le 06/08/2020 à 04:18, Michael Ellerman a écrit :
> Christophe Leroy <christophe.leroy at csgroup.eu> writes:
>> Le 22/07/2020 à 04:24, Michael Ellerman a écrit :
>>> The assembler says:
>>>     arch/powerpc/kernel/head_40x.S:623: Warning: invalid register expression
>>
>> I get exactly the same with head_32.S, for the exact same reason.
> 
> Ah yep, I see it. I mostly build pmac32_defconfig which doesn't have
> BDI_SWITCH enabled.
> 
> Send a patch? :)

Done.

> 
> Do we still need the BDI_SWITCH code? Is it likely anyone still has one,
> that works?

I have three (One for 83xx and two for 8xx) and they work, allthough I'm 
using them only for Uboot and for very very very early Linux boot 
debugging (Last time I used it with Linux was when implementing KASAN)

Christophe


More information about the Linuxppc-dev mailing list