sparc64: Fix bug in PTRACE_SETFPREGS64 handling.
authorChris Torek <chris.torek@windriver.com>
Wed, 3 Dec 2008 08:47:28 +0000 (00:47 -0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 3 Dec 2008 08:47:28 +0000 (00:47 -0800)
commitee4ee527278a66321301d4f1f5ae22e49ab18fad
tree3100b51ea986be462ed6fb83182e9f76a2dd3bbe
parentf6f7b52e2f6149d2ee365717afff315b05720162
sparc64: Fix bug in PTRACE_SETFPREGS64 handling.

From: Chris Torek <chris.torek@windriver.com>

>The SPARC64 kernel code for PTRACE_SETFPREGS64 appears to be an exact copy
>of that for PTRACE_GETFPREGS64.  This means that gdbserver and native
>64-bit GDB cannot set floating-point registers.

It looks like a simple typo.

Signed-off-by: David S. Miller <davem@davemloft.net>
arch/sparc64/kernel/ptrace.c