MIPS: Replace add and sub instructions in relocate_kernel.S with addiu

Fixes the assembler errors generated when compiling a MIPS R6 kernel with
CONFIG_KEXEC on, by replacing the offending add and sub instructions with
addiu instructions.

Build errors:
arch/mips/kernel/relocate_kernel.S: Assembler messages:
arch/mips/kernel/relocate_kernel.S:27: Error: invalid operands `dadd $16,$16,8'
arch/mips/kernel/relocate_kernel.S:64: Error: invalid operands `dadd $20,$20,8'
arch/mips/kernel/relocate_kernel.S:65: Error: invalid operands `dadd $18,$18,8'
arch/mips/kernel/relocate_kernel.S:66: Error: invalid operands `dsub $22,$22,1'
scripts/Makefile.build:294: recipe for target 'arch/mips/kernel/relocate_kernel.o' failed

Signed-off-by: James Cowgill <James.Cowgill@imgtec.com>
Cc: <stable@vger.kernel.org> # 4.0+
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/10558/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>

authored by James Cowgill and committed by Ralf Baechle a4504755 3aff47c0

Changed files
+4 -4
arch
mips
+4 -4
arch/mips/kernel/relocate_kernel.S
··· 24 24 25 25 process_entry: 26 26 PTR_L s2, (s0) 27 - PTR_ADD s0, s0, SZREG 27 + PTR_ADDIU s0, s0, SZREG 28 28 29 29 /* 30 30 * In case of a kdump/crash kernel, the indirection page is not ··· 61 61 /* copy page word by word */ 62 62 REG_L s5, (s2) 63 63 REG_S s5, (s4) 64 - PTR_ADD s4, s4, SZREG 65 - PTR_ADD s2, s2, SZREG 66 - LONG_SUB s6, s6, 1 64 + PTR_ADDIU s4, s4, SZREG 65 + PTR_ADDIU s2, s2, SZREG 66 + LONG_ADDIU s6, s6, -1 67 67 beq s6, zero, process_entry 68 68 b copy_word 69 69 b process_entry