]> git.baikalelectronics.ru Git - kernel.git/commit
MIPS: Fix syscall_get_nr for the syscall exit tracing.
authorLars Persson <lars.persson@axis.com>
Tue, 3 Feb 2015 16:08:17 +0000 (17:08 +0100)
committerRalf Baechle <ralf@linux-mips.org>
Wed, 4 Feb 2015 15:40:09 +0000 (16:40 +0100)
commitec8f76e2e5f172a2633f4bbe6127aeb51f9020f7
tree93df833f0fdbddb083326d14eff6585d086e3186
parent754296856b057115bfcc91b470ebadd7ed25641a
MIPS: Fix syscall_get_nr for the syscall exit tracing.

Register 2 is alredy overwritten by the return value when
syscall_trace_leave() is called.

Signed-off-by: Lars Persson <larper@axis.com>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/9187/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/include/asm/syscall.h
arch/mips/include/asm/thread_info.h
arch/mips/kernel/ptrace.c