Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 60520
b: refs/heads/master
c: 6d110da
h: refs/heads/master
v: v3
  • Loading branch information
Benjamin Herrenschmidt authored and Paul Mackerras committed Jun 14, 2007
1 parent add8f65 commit fc0afa2
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: abd0650541604d6c028bcbf5002e4a68aaf56e90
refs/heads/master: 6d110da8c3c62167c54eb5e32bb80916a1a23362
4 changes: 0 additions & 4 deletions trunk/arch/powerpc/kernel/ptrace.c
Original file line number Diff line number Diff line change
Expand Up @@ -286,7 +286,6 @@ static void clear_single_step(struct task_struct *task)
clear_tsk_thread_flag(task, TIF_SINGLESTEP);
}

#ifdef CONFIG_PPC64
static int ptrace_set_debugreg(struct task_struct *task, unsigned long addr,
unsigned long data)
{
Expand All @@ -305,7 +304,6 @@ static int ptrace_set_debugreg(struct task_struct *task, unsigned long addr,
task->thread.dabr = data;
return 0;
}
#endif

/*
* Called by kernel/ptrace.c when detaching..
Expand Down Expand Up @@ -503,7 +501,6 @@ long arch_ptrace(struct task_struct *child, long request, long addr, long data)
break;
}

#ifdef CONFIG_PPC64
case PTRACE_GET_DEBUGREG: {
ret = -EINVAL;
/* We only support one DABR and no IABRS at the moment */
Expand All @@ -517,7 +514,6 @@ long arch_ptrace(struct task_struct *child, long request, long addr, long data)
case PTRACE_SET_DEBUGREG:
ret = ptrace_set_debugreg(child, addr, data);
break;
#endif

case PTRACE_DETACH:
ret = ptrace_detach(child, data);
Expand Down

0 comments on commit fc0afa2

Please sign in to comment.