]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
MIPS: Fix MSA ld_*/st_* asm macros to use PTR_ADDU
authorJames Hogan <james.hogan@imgtec.com>
Fri, 15 Apr 2016 09:07:24 +0000 (10:07 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 8 Jun 2016 01:14:31 +0000 (18:14 -0700)
commit612d5094624df41eb4cd83a8594836836e1041cd
tree0aa6e43c996c0770f9a2986f02584620a1e70471
parent73410f3b164cd436aaaf6a1944aab4892d7b92f2
MIPS: Fix MSA ld_*/st_* asm macros to use PTR_ADDU

commit ea1688573426adc2587ed52d086b51c7c62eaca3 upstream.

The MSA ld_*/st_* assembler macros for when the toolchain doesn't
support MSA use addu to offset the base address. However it is a virtual
memory pointer so fix it to use PTR_ADDU which expands to daddu for
64-bit kernels.

Signed-off-by: James Hogan <james.hogan@imgtec.com>
Cc: Paul Burton <paul.burton@imgtec.com>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/13062/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/mips/include/asm/asmmacro.h