summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorAnton Blanchard <anton@samba.org>2005-09-23 08:44:05 +0400
committerLinus Torvalds <torvalds@g5.osdl.org>2005-09-23 09:17:35 +0400
commit0f329075fb1dbd6845db03e9bb8252024fdbea1f (patch)
treec2bca92a93c7a1983ddd77811bec7e7409eb4147 /arch
parentf951da3757cf46444a6ea52e97b8aa9400fe761a (diff)
downloadlinux-0f329075fb1dbd6845db03e9bb8252024fdbea1f.tar.xz
[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.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/ppc64/kernel/ptrace.c b/arch/ppc64/kernel/ptrace.c
index 85ed3188a91d..b1c044ca5756 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);