diff options
author | Catalin Marinas <catalin.marinas@arm.com> | 2020-04-29 21:37:02 +0300 |
---|---|---|
committer | Will Deacon <will@kernel.org> | 2020-04-29 23:50:01 +0300 |
commit | ada66f1837594f38bc2db4f98c4c6589ecc8a7f6 (patch) | |
tree | fc641d0b0ec46ca08315de611a7398994c2e91c1 /usr | |
parent | 76085aff29f585139a37a10ea0a7daa63f70872c (diff) | |
download | linux-ada66f1837594f38bc2db4f98c4c6589ecc8a7f6.tar.xz |
arm64: Reorder the macro arguments in the copy routines
The current argument order is obviously buggy (memcpy.S):
macro strb1 ptr, regB, val
strb \ptr, [\regB], \val
endm
However, it cancels out as the calling sites in copy_template.S pass the
address as the regB argument.
Mechanically reorder the arguments to match the instruction mnemonics.
There is no difference in objdump before and after this patch.
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Link: https://lore.kernel.org/r/20200429183702.28445-1-catalin.marinas@arm.com
Signed-off-by: Will Deacon <will@kernel.org>
Diffstat (limited to 'usr')
0 files changed, 0 insertions, 0 deletions