Skip to content

Commit 0f32907

Browse files
antonblanchardLinus Torvalds
authored andcommitted
[PATCH] ppc64: Fix 64bit ptrace DABR support
Fix my stupid bug in the 64bit version of PTRACE_SET_DEBUGREG. Signed-off-by: Anton Blanchard <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
1 parent f951da3 commit 0f32907

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

arch/ppc64/kernel/ptrace.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -219,6 +219,7 @@ int sys_ptrace(long request, long pid, long addr, long data)
219219

220220
case PTRACE_SET_DEBUGREG:
221221
ret = ptrace_set_debugreg(child, addr, data);
222+
break;
222223

223224
case PTRACE_DETACH:
224225
ret = ptrace_detach(child, data);

0 commit comments

Comments
 (0)