diff options
author | Christoph Hellwig <hch@lst.de> | 2005-10-30 18:02:22 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-10-30 20:37:20 -0500 |
commit | dfb7dac3af623a68262536437af008ed6aba4d88 (patch) | |
tree | fdc8a61c73257dcf8866cf7b9213ce78d2422e7f /arch/ppc | |
parent | 7024a9b884ed7657fb873e655cd124d85ae792a4 (diff) |
[PATCH] unify sys_ptrace prototype
Make sure we always return, as all syscalls should. Also move the common
prototype to <linux/syscalls.h>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Miklos Szeredi <miklos@szeredi.hu>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'arch/ppc')
-rw-r--r-- | arch/ppc/kernel/ptrace.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/ppc/kernel/ptrace.c b/arch/ppc/kernel/ptrace.c index e7aee4108dea..e2744b6879da 100644 --- a/arch/ppc/kernel/ptrace.c +++ b/arch/ppc/kernel/ptrace.c | |||
@@ -240,7 +240,7 @@ void ptrace_disable(struct task_struct *child) | |||
240 | clear_single_step(child); | 240 | clear_single_step(child); |
241 | } | 241 | } |
242 | 242 | ||
243 | int sys_ptrace(long request, long pid, long addr, long data) | 243 | long sys_ptrace(long request, long pid, long addr, long data) |
244 | { | 244 | { |
245 | struct task_struct *child; | 245 | struct task_struct *child; |
246 | int ret = -EPERM; | 246 | int ret = -EPERM; |