| From | Namhyung Kim <> | Subject | [RFC PATCH 03/43] ptrace: change signature of arch_ptrace() | Date | Fri, 27 Aug 2010 18:41:49 +0900 |
| |
change type of @addr and @data into unsigned long.
NOTE: This patch might break build if applied alone so should be used with your arch counterpart.
Signed-off-by: Namhyung Kim <namhyung@gmail.com> --- include/linux/ptrace.h | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/include/linux/ptrace.h b/include/linux/ptrace.h index 67a4cd7..092a04f 100644 --- a/include/linux/ptrace.h +++ b/include/linux/ptrace.h @@ -100,7 +100,8 @@ #include <linux/sched.h> /* For struct task_struct. */ -extern long arch_ptrace(struct task_struct *child, long request, long addr, long data); +extern long arch_ptrace(struct task_struct *child, long request, + unsigned long addr, unsigned long data); extern int ptrace_traceme(void); extern int ptrace_readdata(struct task_struct *tsk, unsigned long src, char __user *dst, int len); extern int ptrace_writedata(struct task_struct *tsk, char __user *src, unsigned long dst, int len); -- 1.7.2.2
|