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/sh64/kernel | |
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/sh64/kernel')
-rw-r--r-- | arch/sh64/kernel/ptrace.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/sh64/kernel/ptrace.c b/arch/sh64/kernel/ptrace.c index fd2000956dae..71f2eec00b99 100644 --- a/arch/sh64/kernel/ptrace.c +++ b/arch/sh64/kernel/ptrace.c | |||
@@ -121,7 +121,7 @@ put_fpu_long(struct task_struct *task, unsigned long addr, unsigned long data) | |||
121 | return 0; | 121 | return 0; |
122 | } | 122 | } |
123 | 123 | ||
124 | asmlinkage int sys_ptrace(long request, long pid, long addr, long data) | 124 | asmlinkage long sys_ptrace(long request, long pid, long addr, long data) |
125 | { | 125 | { |
126 | struct task_struct *child; | 126 | struct task_struct *child; |
127 | extern void poke_real_address_q(unsigned long long addr, unsigned long long data); | 127 | extern void poke_real_address_q(unsigned long long addr, unsigned long long data); |