summaryrefslogtreecommitdiffstats
path: root/arch/um/kernel/skas
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2012-05-23 00:18:33 -0400
committerRichard Weinberger <richard@nod.at>2012-08-02 00:25:38 +0200
commit1bfa2317b21750f739b59ab6df2c8efb12875045 (patch)
tree1526554a2507948d881db1f415014bf2b66ad54d /arch/um/kernel/skas
parenta3170d2ec25f841bee1b52487693ac1a2f191ba6 (diff)
downloadop-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.c4
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);
}
OpenPOWER on IntegriCloud