projects
/
GitHub
/
exynos8895
/
android_kernel_samsung_universal8895.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
|
blame
|
history
diff --git
a/arch/tile/kernel/ptrace.c
b/arch/tile/kernel/ptrace.c
index e5701d1a52d78ddec3c2f45635834155d235ecb7..7161bd03d2fdbe8d057587f20c4adf3ffffcb61a 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. */