diff options
author | Anton Blanchard <anton@samba.org> | 2005-09-22 21:44:05 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-09-22 22:17:35 -0700 |
commit | 0f329075fb1dbd6845db03e9bb8252024fdbea1f (patch) | |
tree | c2bca92a93c7a1983ddd77811bec7e7409eb4147 /arch | |
parent | f951da3757cf46444a6ea52e97b8aa9400fe761a (diff) | |
download | op-kernel-dev-0f329075fb1dbd6845db03e9bb8252024fdbea1f.zip op-kernel-dev-0f329075fb1dbd6845db03e9bb8252024fdbea1f.tar.gz |
[PATCH] ppc64: Fix 64bit ptrace DABR support
Fix my stupid bug in the 64bit version of PTRACE_SET_DEBUGREG.
Signed-off-by: Anton Blanchard <anton@samba.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/ppc64/kernel/ptrace.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/ppc64/kernel/ptrace.c b/arch/ppc64/kernel/ptrace.c index 85ed318..b1c044c 100644 --- a/arch/ppc64/kernel/ptrace.c +++ b/arch/ppc64/kernel/ptrace.c @@ -219,6 +219,7 @@ int sys_ptrace(long request, long pid, long addr, long data) case PTRACE_SET_DEBUGREG: ret = ptrace_set_debugreg(child, addr, data); + break; case PTRACE_DETACH: ret = ptrace_detach(child, data); |