From: Namhyung Kim Date: Wed, 27 Oct 2010 22:33:51 +0000 (-0700) Subject: ptrace: cleanup arch_ptrace() on cris X-Git-Tag: v2.6.37-rc1~85^2~80 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=475a4b813816fe9af4cdf7833799036b679f46d0;p=pandora-kernel.git ptrace: cleanup arch_ptrace() on cris Use new 'regno' variable in order to remove redandunt expression and remove checking @addr less than 0 because @addr is now unsigned. Also update 'datap' on PTRACE_GET/SETREGS to fix a bug on arch-v10. Signed-off-by: Namhyung Kim Acked-by: Mikael Starvik Cc: Jesper Nilsson Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed