[PATCH V2 2/2] mips: remove register spill

Maciej W. Rozycki macro@linux-mips.org
Fri Dec 4 11:04:42 GMT 2020


On Wed, 2 Dec 2020, Huang Pei wrote:

> Before Linux/MIPS 2.6.36, kernel expected setting syscall number(aka
> "li v0, #sys_number") right precedes "syscall", so the kernel syscall
> restart sequence can use CP0 EPC - 4 to restart the syscall, because
> kernel DID NOT save v0 during syscall handling. Linux 2.6.36 canceled
> this restriction.

 I object, as I previously noted.

  Maciej


More information about the Libc-alpha mailing list