arch/tile: avoid erroneous error return for PTRACE_POKEUSR.

Signed-off-by: Chris Metcalf <cmetcalf@tilera.com>
Acked-by: Arnd Bergmann <arnd@arndb.de>
This commit is contained in:
Chris Metcalf 2010-07-02 14:17:52 -04:00
parent c6673cb54d
commit bcd97c3f9a

View File

@ -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. */