Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 183020
b: refs/heads/master
c: 462f39a
h: refs/heads/master
v: v3
  • Loading branch information
Russell King committed Feb 15, 2010
1 parent f48e48a commit 96545fb
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 17 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: d23bc1b3a7e6db935acb9a949a5985d9b77dfd13
refs/heads/master: 462f39a8c7496c95f4de91ef46d875f46e0fa271
16 changes: 0 additions & 16 deletions trunk/arch/arm/kernel/ptrace.c
Original file line number Diff line number Diff line change
Expand Up @@ -743,26 +743,10 @@ long arch_ptrace(struct task_struct *child, long request, long addr, long data)
int ret;

switch (request) {
/*
* read word at location "addr" in the child process.
*/
case PTRACE_PEEKTEXT:
case PTRACE_PEEKDATA:
ret = generic_ptrace_peekdata(child, addr, data);
break;

case PTRACE_PEEKUSR:
ret = ptrace_read_user(child, addr, (unsigned long __user *)data);
break;

/*
* write the word at location addr.
*/
case PTRACE_POKETEXT:
case PTRACE_POKEDATA:
ret = generic_ptrace_pokedata(child, addr, data);
break;

case PTRACE_POKEUSR:
ret = ptrace_write_user(child, addr, data);
break;
Expand Down

0 comments on commit 96545fb

Please sign in to comment.