]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit
c6x/ptrace: Remove useless PTRACE_SETREGSET implementation
authorDave Martin <Dave.Martin@arm.com>
Mon, 27 Mar 2017 14:10:53 +0000 (15:10 +0100)
committerThadeu Lima de Souza Cascardo <cascardo@canonical.com>
Thu, 6 Apr 2017 08:26:05 +0000 (09:26 +0100)
commitca82b1e1e7ced321924d6cf194e327e8d774800e
tree3d69aa05377e21eb46ca738ddd8183ff98330bde
parent4788c06d32d6fca27b4cff75115119938c5b7e23
c6x/ptrace: Remove useless PTRACE_SETREGSET implementation

BugLink: http://bugs.launchpad.net/bugs/1678960
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: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
Signed-off-by: Thadeu Lima de Souza Cascardo <cascardo@canonical.com>
arch/c6x/kernel/ptrace.c