OSDN Git Service

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)
committerMarkos Chandras <markos.chandras@imgtec.com>
Tue, 17 Feb 2015 15:37:28 +0000 (15:37 +0000)
commitacac4108df6029c03195513ead7073bbb0cb9718
treeb30726d60d92ea454fd94fcd8c479fe7c07ac257
parent938c12824b1c6617569f6258730a1b8e303b2551
MIPS: kernel: cps-vec: Replace "addi" with "addiu"

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: <stable@vger.kernel.org> # v3.15+
Cc: Paul Burton <paul.burton@imgtec.com>
Signed-off-by: Markos Chandras <markos.chandras@imgtec.com>
arch/mips/kernel/cps-vec.S