From: Anton Blanchard Date: Fri, 23 Sep 2005 04:44:05 +0000 (-0700) Subject: [PATCH] ppc64: Fix 64bit ptrace DABR support X-Git-Tag: v2.6.14-rc3~51^2~47 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=0f329075fb1dbd6845db03e9bb8252024fdbea1f;p=linux-2.6-omap-h63xx.git [PATCH] ppc64: Fix 64bit ptrace DABR support Fix my stupid bug in the 64bit version of PTRACE_SET_DEBUGREG. Signed-off-by: Anton Blanchard Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/arch/ppc64/kernel/ptrace.c b/arch/ppc64/kernel/ptrace.c index 85ed3188a91..b1c044ca575 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);