projects
/
platform
/
adaptation
/
renesas_rcar
/
renesas_kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c6673cb
)
arch/tile: avoid erroneous error return for PTRACE_POKEUSR.
author
Chris Metcalf
<cmetcalf@tilera.com>
Fri, 2 Jul 2010 18:17:52 +0000
(14:17 -0400)
committer
Chris Metcalf
<cmetcalf@tilera.com>
Tue, 6 Jul 2010 17:42:10 +0000
(13:42 -0400)
Signed-off-by: Chris Metcalf <cmetcalf@tilera.com>
Acked-by: Arnd Bergmann <arnd@arndb.de>
arch/tile/kernel/ptrace.c
patch
|
blob
|
history
diff --git
a/arch/tile/kernel/ptrace.c
b/arch/tile/kernel/ptrace.c
index
e5701d1
..
7161bd0
100644
(file)
--- 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. */