Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 84001
b: refs/heads/master
c: c034243
h: refs/heads/master
i:
  83999: 77b25fa
v: v3
  • Loading branch information
Roland McGrath authored and Paul Mackerras committed Feb 7, 2008
1 parent 0c31030 commit 2f42b29
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 13 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: c391cd0093a2c86a6d1bc256198caad29fff0f60
refs/heads/master: c034243504b8396c4293abdc63aa3fc336a7d870
12 changes: 0 additions & 12 deletions trunk/arch/powerpc/kernel/ptrace.c
Original file line number Diff line number Diff line change
Expand Up @@ -701,12 +701,6 @@ long arch_ptrace(struct task_struct *child, long request, long addr, long data)
int ret = -EPERM;

switch (request) {
/* when I and D space are separate, these will need to be fixed. */
case PTRACE_PEEKTEXT: /* read word at location addr. */
case PTRACE_PEEKDATA:
ret = generic_ptrace_peekdata(child, addr, data);
break;

/* read the word at location addr in the USER area. */
case PTRACE_PEEKUSR: {
unsigned long index, tmp;
Expand Down Expand Up @@ -734,12 +728,6 @@ long arch_ptrace(struct task_struct *child, long request, long addr, long data)
break;
}

/* If I and D space are separate, this will have to be fixed. */
case PTRACE_POKETEXT: /* write the word at location addr. */
case PTRACE_POKEDATA:
ret = generic_ptrace_pokedata(child, addr, data);
break;

/* write the word at location addr in the USER area */
case PTRACE_POKEUSR: {
unsigned long index;
Expand Down

0 comments on commit 2f42b29

Please sign in to comment.