diff options
author | Christophe Leroy <christophe.leroy@csgroup.eu> | 2020-08-06 08:01:42 +0200 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2020-09-02 03:00:17 +0200 |
commit | b51ba4fe2e134b631f9c8f45423707aab71449b5 (patch) | |
tree | 4753b1e821f2eb8f69cd4c010daa2c77191e65b7 /drivers/slimbus/sched.c | |
parent | powerpc/nx: Don't pack struct coprocessor_request_block (diff) | |
download | linux-b51ba4fe2e134b631f9c8f45423707aab71449b5.tar.xz linux-b51ba4fe2e134b631f9c8f45423707aab71449b5.zip |
powerpc/32s: Fix assembler warning about r0
The assembler says:
arch/powerpc/kernel/head_32.S:1095: 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: Christophe Leroy <christophe.leroy@csgroup.eu>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/2b69ac8e1cddff6f808fc7415907179eab4aae9e.1596693679.git.christophe.leroy@csgroup.eu
Diffstat (limited to 'drivers/slimbus/sched.c')
0 files changed, 0 insertions, 0 deletions