diff options
author | Catalin Marinas <catalin.marinas@arm.com> | 2020-04-29 20:37:02 +0200 |
---|---|---|
committer | Will Deacon <will@kernel.org> | 2020-04-29 22:50:01 +0200 |
commit | ada66f1837594f38bc2db4f98c4c6589ecc8a7f6 (patch) | |
tree | fc641d0b0ec46ca08315de611a7398994c2e91c1 /arch/arm64/include | |
parent | efi/libstub/arm64: align PE/COFF sections to segment alignment (diff) | |
download | linux-ada66f1837594f38bc2db4f98c4c6589ecc8a7f6.tar.xz linux-ada66f1837594f38bc2db4f98c4c6589ecc8a7f6.zip |
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 'arch/arm64/include')
0 files changed, 0 insertions, 0 deletions