summaryrefslogtreecommitdiffstats
path: root/arch/tile
diff options
context:
space:
mode:
Diffstat (limited to 'arch/tile')
-rw-r--r--arch/tile/kernel/ptrace.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/tile/kernel/ptrace.c b/arch/tile/kernel/ptrace.c
index e5701d1a52d7..7161bd03d2fd 100644
--- a/arch/tile/kernel/ptrace.c
+++ b/arch/tile/kernel/ptrace.c
@@ -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. */