diff options
Diffstat (limited to 'arch/arm/kernel')
-rw-r--r-- | arch/arm/kernel/ptrace.c | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/arch/arm/kernel/ptrace.c b/arch/arm/kernel/ptrace.c index bd56673c6a69..bdf002bab6a5 100644 --- a/arch/arm/kernel/ptrace.c +++ b/arch/arm/kernel/ptrace.c | |||
@@ -743,26 +743,10 @@ long arch_ptrace(struct task_struct *child, long request, long addr, long data) | |||
743 | int ret; | 743 | int ret; |
744 | 744 | ||
745 | switch (request) { | 745 | switch (request) { |
746 | /* | ||
747 | * read word at location "addr" in the child process. | ||
748 | */ | ||
749 | case PTRACE_PEEKTEXT: | ||
750 | case PTRACE_PEEKDATA: | ||
751 | ret = generic_ptrace_peekdata(child, addr, data); | ||
752 | break; | ||
753 | |||
754 | case PTRACE_PEEKUSR: | 746 | case PTRACE_PEEKUSR: |
755 | ret = ptrace_read_user(child, addr, (unsigned long __user *)data); | 747 | ret = ptrace_read_user(child, addr, (unsigned long __user *)data); |
756 | break; | 748 | break; |
757 | 749 | ||
758 | /* | ||
759 | * write the word at location addr. | ||
760 | */ | ||
761 | case PTRACE_POKETEXT: | ||
762 | case PTRACE_POKEDATA: | ||
763 | ret = generic_ptrace_pokedata(child, addr, data); | ||
764 | break; | ||
765 | |||
766 | case PTRACE_POKEUSR: | 750 | case PTRACE_POKEUSR: |
767 | ret = ptrace_write_user(child, addr, data); | 751 | ret = ptrace_write_user(child, addr, data); |
768 | break; | 752 | break; |