From: Namhyung Kim Date: Wed, 27 Oct 2010 22:33:45 +0000 (-0700) Subject: ptrace: change signature of sys_ptrace() and friends X-Git-Tag: v2.6.37-rc1~85^2~87 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4abf986960ecda6a87fc2f795aacf888a2f0127e;p=pandora-kernel.git ptrace: change signature of sys_ptrace() and friends Since userspace API of ptrace syscall defines @addr and @data as void pointers, it would be more appropriate to define them as unsigned long in kernel. Therefore related functions are changed also. 'unsigned long' is typically used in other places in kernel as an opaque data type and that using this helps cleaning up a lot of warnings from sparse. Suggested-by: Arnd Bergmann Signed-off-by: Namhyung Kim Acked-by: Arnd Bergmann Acked-by: Roland McGrath Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed