summaryrefslogtreecommitdiffstats
path: root/arch/ppc64/kernel/ptrace.c
diff options
context:
space:
mode:
authorAnton Blanchard <anton@samba.org>2005-09-22 21:44:05 -0700
committerLinus Torvalds <torvalds@g5.osdl.org>2005-09-22 22:17:35 -0700
commit0f329075fb1dbd6845db03e9bb8252024fdbea1f (patch)
treec2bca92a93c7a1983ddd77811bec7e7409eb4147 /arch/ppc64/kernel/ptrace.c
parentf951da3757cf46444a6ea52e97b8aa9400fe761a (diff)
downloadblackbird-op-linux-0f329075fb1dbd6845db03e9bb8252024fdbea1f.tar.gz
blackbird-op-linux-0f329075fb1dbd6845db03e9bb8252024fdbea1f.zip
[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/ppc64/kernel/ptrace.c')
-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);
OpenPOWER on IntegriCloud