Skip to content

Commit

Permalink
[PATCH] ppc64: Fix 64bit ptrace DABR support
Browse files Browse the repository at this point in the history
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]>
antonblanchard authored and Linus Torvalds committed Sep 23, 2005
1 parent f951da3 commit 0f32907
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions arch/ppc64/kernel/ptrace.c
Original file line number Diff line number Diff line change
@@ -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);

0 comments on commit 0f32907

Please sign in to comment.