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>
This commit is contained in:
Lars Persson 2015-02-03 17:08:17 +01:00 • committed by Ralf Baechle
commit c2d9f17757
3 changed files with 4 additions and 7 deletions