diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2012-05-23 00:18:33 -0400 |
---|---|---|
committer | Richard Weinberger <richard@nod.at> | 2012-08-02 00:25:38 +0200 |
commit | 1bfa2317b21750f739b59ab6df2c8efb12875045 (patch) | |
tree | 1526554a2507948d881db1f415014bf2b66ad54d /arch/um/kernel/skas | |
parent | a3170d2ec25f841bee1b52487693ac1a2f191ba6 (diff) | |
download | op-kernel-dev-1bfa2317b21750f739b59ab6df2c8efb12875045.zip op-kernel-dev-1bfa2317b21750f739b59ab6df2c8efb12875045.tar.gz |
um: split syscall_trace(), pass pt_regs to it
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
[richard@nod.at: Fixed some minor build issues]
Signed-off-by: Richard Weinberger <richard@nod.at>
Diffstat (limited to 'arch/um/kernel/skas')
-rw-r--r-- | arch/um/kernel/skas/syscall.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/um/kernel/skas/syscall.c b/arch/um/kernel/skas/syscall.c index 800551a..86368a0 100644 --- a/arch/um/kernel/skas/syscall.c +++ b/arch/um/kernel/skas/syscall.c @@ -18,7 +18,7 @@ void handle_syscall(struct uml_pt_regs *r) long result; int syscall; - syscall_trace(r, 0); + syscall_trace_enter(regs); /* * This should go in the declaration of syscall, but when I do that, @@ -36,5 +36,5 @@ void handle_syscall(struct uml_pt_regs *r) PT_REGS_SET_SYSCALL_RETURN(regs, result); - syscall_trace(r, 1); + syscall_trace_leave(regs); } |