diff options
author | Kirill Tkhai <tkhai@yandex.ru> | 2013-07-25 23:17:15 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-08-01 04:10:04 +0200 |
commit | 7a3b0f89e3fea680f93932691ca41a68eee7ab5e (patch) | |
tree | bda6c350dd040c512f7057cd7988bc34b6c40de4 /arch/sparc | |
parent | sparc64: Fix wrong syscall return value passed to trace_sys_exit() (diff) | |
download | linux-7a3b0f89e3fea680f93932691ca41a68eee7ab5e.tar.xz linux-7a3b0f89e3fea680f93932691ca41a68eee7ab5e.zip |
sparc32: Fix exit flag passed from traced sys_sigreturn
Pass 1 in %o1 to indicate that syscall_trace accounts exit.
Signed-off-by: Kirill Tkhai <tkhai@yandex.ru>
CC: David Miller <davem@davemloft.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/sparc')
-rw-r--r-- | arch/sparc/kernel/entry.S | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/sparc/kernel/entry.S b/arch/sparc/kernel/entry.S index e2a030045089..33c02b15f478 100644 --- a/arch/sparc/kernel/entry.S +++ b/arch/sparc/kernel/entry.S @@ -839,7 +839,7 @@ sys_sigreturn: nop call syscall_trace - nop + mov 1, %o1 1: /* We don't want to muck with user registers like a |