Re: [PATCH] MIPS: kernel: cps-vec: Replace "addi" with "addiu"

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 01/21/2015 07:27 AM, Markos Chandras wrote:
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@xxxxxxxxxxxxxx>
Cc: <stable@xxxxxxxxxxxxxxx> # v3.15+
Cc: Paul Burton <paul.burton@xxxxxxxxxx>
Signed-off-by: Markos Chandras <markos.chandras@xxxxxxxxxx>

Acked-by: David Daney <david.daney@xxxxxxxxxx>

Same comment about the stable thing. Is it needed for anything other than follow-on MIPS r6 Patches?


---
Moving this out of the R6 patchset as requested by Maciej
---
  arch/mips/kernel/cps-vec.S | 16 ++++++++--------
  1 file changed, 8 insertions(+), 8 deletions(-)

[...]





[Index of Archives]     [Linux MIPS Home]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Linux]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux