c6x/ptrace: Remove useless PTRACE_SETREGSET implementation
authorDave Martin <Dave.Martin@arm.com>
Mon, 27 Mar 2017 14:10:53 +0000 (15:10 +0100)
committerJiri Slaby <jslaby@suse.cz>
Fri, 7 Apr 2017 08:59:34 +0000 (10:59 +0200)
commitbd38b3886f17d68bc00acf8d170a7cf4f2dea650
tree6e2dd7a3daec953d5f339071e03f8840e4464ccd
parent1614d28598d62a95140e9645634ef48e0448c5c7
c6x/ptrace: Remove useless PTRACE_SETREGSET implementation

commit fb411b837b587a32046dc4f369acb93a10b1def8 upstream.

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>
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
arch/c6x/kernel/ptrace.c