These two patches fix a corner case in the o32 indirect syscall handler where incorrect arguments might get passed to the underlying syscall function if more than 4 arguments are passed to a restartable syscall. The first patch hopefully removes the last use of pt_regs for reading syscall arguments and the second patch removes the special pt_regs handling in the indrect syscall handler which is no longer needed. James Cowgill (2): MIPS: opt into HAVE_COPY_THREAD_TLS MIPS: Remove pt_regs adjustments in indirect syscall handler arch/mips/Kconfig | 1 + arch/mips/kernel/process.c | 6 +++--- arch/mips/kernel/scall32-o32.S | 11 ----------- arch/mips/kernel/scall64-o32.S | 6 ------ 4 files changed, 4 insertions(+), 20 deletions(-) -- 2.11.0