Commit bcd97c3f authored by Chris Metcalf's avatar Chris Metcalf

arch/tile: avoid erroneous error return for PTRACE_POKEUSR.

Signed-off-by: default avatarChris Metcalf <cmetcalf@tilera.com>
Acked-by: default avatarArnd Bergmann <arnd@arndb.de>
parent c6673cb5
......@@ -96,6 +96,7 @@ long arch_ptrace(struct task_struct *child, long request, long addr, long data)
if (addr < 0 || addr >= PTREGS_SIZE)
break;
putreg(child, addr, data); /* Write register */
ret = 0;
break;
case PTRACE_GETREGS: /* Get all registers from the child. */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment