]> git.ipfire.org Git - people/ms/linux.git/commit
MIPS: kernel: cps-vec: Replace "addi" with "addiu"
authorMarkos Chandras <markos.chandras@imgtec.com>
Mon, 24 Nov 2014 14:40:11 +0000 (14:40 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 6 Mar 2015 22:52:54 +0000 (14:52 -0800)
commit2aac25e44d517dbf602845392ca221aa9ce13084
treeec866374aaf40bce970ffbf60622d5de0fcbc1d7
parent6a5f2ac063bce807cff8fb1e575a9fca280579a5
MIPS: kernel: cps-vec: Replace "addi" with "addiu"

commit acac4108df6029c03195513ead7073bbb0cb9718 upstream.

The "addi" instruction will trap on overflows which is not something
we need in this code, so we replace that with "addiu".

Link: http://www.linux-mips.org/archives/linux-mips/2015-01/msg00430.html
Cc: Maciej W. Rozycki <macro@linux-mips.org>
Cc: Paul Burton <paul.burton@imgtec.com>
Signed-off-by: Markos Chandras <markos.chandras@imgtec.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/mips/kernel/cps-vec.S