]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
[PATCH] adjust parisc sys_ptrace prototype
authorChristoph Hellwig <hch@lst.de>
Sun, 30 Oct 2005 23:02:21 +0000 (15:02 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Mon, 31 Oct 2005 01:37:20 +0000 (17:37 -0800)
Make the pid argument a long as on every other arcihtecture.  Despite pid_t
beeing a 32bit type even on 64bit parisc this is not an ABI change due to
the parisc calling conventions.  And even if it did it wouldn't matter too
much because 64bit userspace on parisc is in an embrionic stage.

Acked-by: Matthew Wilcox <matthew@wil.cx>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/parisc/kernel/ptrace.c
include/asm-parisc/unistd.h

index f3428e5e86fb9fd25c2148d5c37c5fb390ea2a39..18130c3748f3e4a46c6632c93e6c5b449abd19aa 100644 (file)
@@ -78,7 +78,7 @@ void ptrace_disable(struct task_struct *child)
        pa_psw(child)->l = 0;
 }
 
-long sys_ptrace(long request, pid_t pid, long addr, long data)
+long sys_ptrace(long request, long pid, long addr, long data)
 {
        struct task_struct *child;
        long ret;
index e7a620c5c5e65a22791b559aa318426ecc209d6d..80b7b98c70a150484875767753d35eddbfde4adc 100644 (file)
@@ -1011,7 +1011,6 @@ int sys_clone(unsigned long clone_flags, unsigned long usp,
                struct pt_regs *regs);
 int sys_vfork(struct pt_regs *regs);
 int sys_pipe(int *fildes);
-long sys_ptrace(long request, pid_t pid, long addr, long data);
 struct sigaction;
 asmlinkage long sys_rt_sigaction(int sig,
                                const struct sigaction __user *act,