summaryrefslogtreecommitdiff
path: root/kernel/locking
diff options
context:
space:
mode:
authorMarkos Chandras <markos.chandras@imgtec.com>2014-11-05 14:17:52 +0000
committerLuis Henriques <luis.henriques@canonical.com>2015-03-02 15:04:29 +0000
commitf27d07312ffca015b45d3529342dcfb55a1058f2 (patch)
tree2886a19100b7be488626340cdde0b1fcb9adf2a7 /kernel/locking
parent0c24a6c4cc81f49a11389f480e4526cbf1e13d40 (diff)
MIPS: asm: asmmacro: Replace "add" instructions with "addu"
commit 98a833c1fa4de0695830f77b2d13fd86693da298 upstream. The "add" instruction is actually a macro in binutils and depending on the size of the immediate it can expand to an "addi" instruction. However, the "addi" instruction traps on overflows which is not something we want on address calculation. Link: http://www.linux-mips.org/archives/linux-mips/2015-01/msg00121.html Cc: Paul Burton <paul.burton@imgtec.com> Cc: Maciej W. Rozycki <macro@linux-mips.org> Signed-off-by: Markos Chandras <markos.chandras@imgtec.com> [ luis: backported to 3.16: adjusted context ] Signed-off-by: Luis Henriques <luis.henriques@canonical.com>
Diffstat (limited to 'kernel/locking')
0 files changed, 0 insertions, 0 deletions