diff options
author | 2005-10-30 15:02:22 -0800 | |
---|---|---|
committer | 2005-10-30 17:37:20 -0800 | |
commit | dfb7dac3af623a68262536437af008ed6aba4d88 (patch) | |
tree | fdc8a61c73257dcf8866cf7b9213ce78d2422e7f /arch/h8300 | |
parent | [PATCH] adjust parisc sys_ptrace prototype (diff) | |
download | linux-dfb7dac3af623a68262536437af008ed6aba4d88.tar.gz linux-dfb7dac3af623a68262536437af008ed6aba4d88.tar.bz2 linux-dfb7dac3af623a68262536437af008ed6aba4d88.zip |
[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/h8300')
-rw-r--r-- | arch/h8300/kernel/ptrace.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/h8300/kernel/ptrace.c b/arch/h8300/kernel/ptrace.c index 05c15e869777..a569fe4aa284 100644 --- a/arch/h8300/kernel/ptrace.c +++ b/arch/h8300/kernel/ptrace.c @@ -57,7 +57,7 @@ void ptrace_disable(struct task_struct *child) h8300_disable_trace(child); } -asmlinkage int sys_ptrace(long request, long pid, long addr, long data) +asmlinkage long sys_ptrace(long request, long pid, long addr, long data) { struct task_struct *child; int ret; |