commit | 5753762cbd1cb208f6e6c916169b56139373b790 | [log] [tgz] |
---|---|---|
author | Markos Chandras <markos.chandras@imgtec.com> | Mon Nov 24 14:11:39 2014 +0000 |
committer | Markos Chandras <markos.chandras@imgtec.com> | Tue Feb 17 15:37:23 2015 +0000 |
tree | 2d0ffa8b1a9810cbe68734d8a0c12820787f97be | |
parent | 1922c356ab2d0031d1acc2979043da4a1105dc4a [diff] |
MIPS: asm: spinlock: Replace "sub" instruction with "addiu" "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>