]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - arch/um/kernel/ptrace.c
ptrace: change signature of arch_ptrace()
[net-next-2.6.git] / arch / um / kernel / ptrace.c
index e0510496596c9a047f3fd19860716906caf14f69..963d82bdec06c2dbadcb8de5d0858d004035c05f 100644 (file)
@@ -42,10 +42,11 @@ void ptrace_disable(struct task_struct *child)
 extern int peek_user(struct task_struct * child, long addr, long data);
 extern int poke_user(struct task_struct * child, long addr, long data);
 
-long arch_ptrace(struct task_struct *child, long request, long addr, long data)
+long arch_ptrace(struct task_struct *child, long request,
+                unsigned long addr, unsigned long data)
 {
        int i, ret;
-       unsigned long __user *p = (void __user *)(unsigned long)data;
+       unsigned long __user *p = (void __user *)data;
 
        switch (request) {
        /* read word at location addr. */