Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

[PATCH] adjust parisc sys_ptrace prototype

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>

authored by

Christoph Hellwig and committed by
Linus Torvalds
7024a9b8 4eb9af2a

+1 -2
+1 -1
arch/parisc/kernel/ptrace.c
··· 78 78 pa_psw(child)->l = 0; 79 79 } 80 80 81 - long sys_ptrace(long request, pid_t pid, long addr, long data) 81 + long sys_ptrace(long request, long pid, long addr, long data) 82 82 { 83 83 struct task_struct *child; 84 84 long ret;
-1
include/asm-parisc/unistd.h
··· 1011 1011 struct pt_regs *regs); 1012 1012 int sys_vfork(struct pt_regs *regs); 1013 1013 int sys_pipe(int *fildes); 1014 - long sys_ptrace(long request, pid_t pid, long addr, long data); 1015 1014 struct sigaction; 1016 1015 asmlinkage long sys_rt_sigaction(int sig, 1017 1016 const struct sigaction __user *act,