提交 7024a9b8 编写于 作者: C Christoph Hellwig 提交者: Linus Torvalds

[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: NMatthew Wilcox <matthew@wil.cx>
Signed-off-by: NChristoph Hellwig <hch@lst.de>
Signed-off-by: NAndrew Morton <akpm@osdl.org>
Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
上级 4eb9af2a
...@@ -78,7 +78,7 @@ void ptrace_disable(struct task_struct *child) ...@@ -78,7 +78,7 @@ void ptrace_disable(struct task_struct *child)
pa_psw(child)->l = 0; 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; struct task_struct *child;
long ret; long ret;
......
...@@ -1011,7 +1011,6 @@ int sys_clone(unsigned long clone_flags, unsigned long usp, ...@@ -1011,7 +1011,6 @@ int sys_clone(unsigned long clone_flags, unsigned long usp,
struct pt_regs *regs); struct pt_regs *regs);
int sys_vfork(struct pt_regs *regs); int sys_vfork(struct pt_regs *regs);
int sys_pipe(int *fildes); int sys_pipe(int *fildes);
long sys_ptrace(long request, pid_t pid, long addr, long data);
struct sigaction; struct sigaction;
asmlinkage long sys_rt_sigaction(int sig, asmlinkage long sys_rt_sigaction(int sig,
const struct sigaction __user *act, const struct sigaction __user *act,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册