diff options
author | Chris Metcalf <cmetcalf@tilera.com> | 2010-07-02 18:17:52 (GMT) |
---|---|---|
committer | Chris Metcalf <cmetcalf@tilera.com> | 2010-07-06 17:42:10 (GMT) |
commit | bcd97c3f9a385e8e658a416cd72dd65ca0eeb544 (patch) | |
tree | 2398b89fa6edee2a81c99efd5c4e53feb18dceac /arch/tile | |
parent | c6673cb54d191dd42935a61fcb0c452a4753fb23 (diff) | |
download | linux-bcd97c3f9a385e8e658a416cd72dd65ca0eeb544.tar.xz |
arch/tile: avoid erroneous error return for PTRACE_POKEUSR.
Signed-off-by: Chris Metcalf <cmetcalf@tilera.com>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'arch/tile')
-rw-r--r-- | arch/tile/kernel/ptrace.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/tile/kernel/ptrace.c b/arch/tile/kernel/ptrace.c index e5701d1..7161bd0 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. */ |