powerpc/40x: Fix assembler warning about r0
authorMichael Ellerman <mpe@ellerman.id.au>
Wed, 22 Jul 2020 02:24:22 +0000 (12:24 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Mon, 3 Aug 2020 12:12:41 +0000 (22:12 +1000)
commit8d8a629d00a5283874b81b594f31f8d436dc57d8
treeba954972bd29520aa6de9ebf0fa6dfebf51b1855
parentaf0870c4e75655b1931d0a5ffde2f448a2794362
powerpc/40x: Fix assembler warning about r0

The assembler says:
  arch/powerpc/kernel/head_40x.S:623: Warning: invalid register expression

It's objecting to the use of r0 as the RA argument. That's because
when RA = 0 the literal value 0 is used, rather than the content of
r0, making the use of r0 in the source potentially confusing.

Fix it to use a literal 0, the generated code is identical.

Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20200722022422.825197-1-mpe@ellerman.id.au
arch/powerpc/kernel/head_40x.S