From: Richard Mortimer Date: Mon, 9 Jan 2006 22:35:50 +0000 (-0800) Subject: [SPARC64]: Fix ptrace/strace X-Git-Tag: v2.6.16-rc1~659^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=695ca07bf1036091eff2f11d2fe5f1585c2ac8c8;p=pandora-kernel.git [SPARC64]: Fix ptrace/strace Don't clobber register %l0 while checking TI_SYS_NOERROR value in syscall return path. This bug was introduced by: db7d9a4eb700be766cc9f29241483dbb1e748832 Problem narrowed down by Luis F. Ortiz and Richard Mortimer. I tried using %l2 as suggested by Luis and that works for me. Looking at the code I wonder if it makes sense to simplify the code a little bit. The following works for me but I'm not sure how to exercise the "NOERROR" codepath. Signed-off-by: David S. Miller --- Reading git-diff-tree failed