forked from luck/tmp_suning_uos_patched
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:
parent
c6673cb54d
commit
bcd97c3f9a
|
@ -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. */
|
||||
|
|
Loading…
Reference in New Issue
Block a user