c6x/ptrace: Remove useless PTRACE_SETREGSET implementation
authorDave Martin <Dave.Martin@arm.com>
Mon, 27 Mar 2017 14:10:53 +0000 (15:10 +0100)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 29 Mar 2017 15:54:17 +0000 (08:54 -0700)
commitfb411b837b587a32046dc4f369acb93a10b1def8
treeae521a5205a878c2cb854c3676856578d589ef48
parentc470abd4fde40ea6a0846a2beab642a578c0b8cd
c6x/ptrace: Remove useless PTRACE_SETREGSET implementation

gpr_set won't work correctly and can never have been tested, and the
correct behaviour is not clear due to the endianness-dependent task
layout.

So, just remove it.  The core code will now return -EOPNOTSUPPORT when
trying to set NT_PRSTATUS on this architecture until/unless a correct
implementation is supplied.

Signed-off-by: Dave Martin <Dave.Martin@arm.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/c6x/kernel/ptrace.c