MIPS: asm: spinlock: Replace "sub" instruction with "addiu"
authorMarkos Chandras <markos.chandras@imgtec.com>
Mon, 24 Nov 2014 14:11:39 +0000 (14:11 +0000)
committerMarkos Chandras <markos.chandras@imgtec.com>
Tue, 17 Feb 2015 15:37:23 +0000 (15:37 +0000)
"sub $reg, imm" is not a real MIPS instruction. The assembler can
replace that with "addi $reg, -imm". However, addi has been removed
from R6, so we replace the "sub" instruction with the "addiu" one.

Signed-off-by: Markos Chandras <markos.chandras@imgtec.com>

No differences found