aboutsummaryrefslogtreecommitdiff
path: root/tools/testing/selftests/powerpc/stringloops/memcmp.c
diff options
context:
space:
mode:
authorMichael Ellerman <[email protected]>2020-07-22 12:24:22 +1000
committerMichael Ellerman <[email protected]>2020-08-03 22:12:41 +1000
commit8d8a629d00a5283874b81b594f31f8d436dc57d8 (patch)
treeba954972bd29520aa6de9ebf0fa6dfebf51b1855 /tools/testing/selftests/powerpc/stringloops/memcmp.c
parentaf0870c4e75655b1931d0a5ffde2f448a2794362 (diff)
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 <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/testing/selftests/powerpc/stringloops/memcmp.c')
0 files changed, 0 insertions, 0 deletions