From: Phil Edworthy Date: Fri, 18 Mar 2011 14:16:31 +0000 (+0000) Subject: sh: Fix ptrace fpu state initialisation X-Git-Tag: v2.6.37.6~23 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ef2109c5172a277790f38fccc43d32aaaa7f405d;p=pandora-kernel.git sh: Fix ptrace fpu state initialisation commit c49b6ecf0870e78fa40497cd8b142915c1d5c7c9 upstream. Commit 0ea820cf introduced the PTRACE_GETFPREGS/SETFPREGS cmds, but gdb-server still accesses the FPU state using the PTRACE_PEEKUSR/POKEUSR commands. In this case, xstate was not initialised. Signed-off-by: Phil Edworthy Signed-off-by: Paul Mundt Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed