From: Benjamin Herrenschmidt Date: Thu, 24 May 2007 05:41:04 +0000 (+1000) Subject: [POWERPC] Fix ppc32 single-stepping out of syscalls X-Git-Tag: v2.6.22-rc4~12^2~12 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7d43e57764fe6922703c36d8d0d56a7ead21f03d;p=pandora-kernel.git [POWERPC] Fix ppc32 single-stepping out of syscalls The ppc32 kernel didn't properly set/clear the TIF_SINGLESTEP flag, causing return from syscalls to not SIGTRAP, thus executing one more instruction before stopping again. This fixes it. The ptrace code is a bit of a mess, and is overdue for at least a -proper- 32/64 bits split and possibly more cleanups but this minimum fix should be ok for 2.6.22 Signed-off-by: Benjamin Herrenschmidt Signed-off-by: Paul Mackerras --- Reading git-diff-tree failed