diff options
-rw-r--r-- | arch/powerpc/kernel/ptrace.c | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/arch/powerpc/kernel/ptrace.c b/arch/powerpc/kernel/ptrace.c index 2c1ee2cf9419..7571c2e2d991 100644 --- a/arch/powerpc/kernel/ptrace.c +++ b/arch/powerpc/kernel/ptrace.c | |||
@@ -701,12 +701,6 @@ long arch_ptrace(struct task_struct *child, long request, long addr, long data) | |||
701 | int ret = -EPERM; | 701 | int ret = -EPERM; |
702 | 702 | ||
703 | switch (request) { | 703 | switch (request) { |
704 | /* when I and D space are separate, these will need to be fixed. */ | ||
705 | case PTRACE_PEEKTEXT: /* read word at location addr. */ | ||
706 | case PTRACE_PEEKDATA: | ||
707 | ret = generic_ptrace_peekdata(child, addr, data); | ||
708 | break; | ||
709 | |||
710 | /* read the word at location addr in the USER area. */ | 704 | /* read the word at location addr in the USER area. */ |
711 | case PTRACE_PEEKUSR: { | 705 | case PTRACE_PEEKUSR: { |
712 | unsigned long index, tmp; | 706 | unsigned long index, tmp; |
@@ -734,12 +728,6 @@ long arch_ptrace(struct task_struct *child, long request, long addr, long data) | |||
734 | break; | 728 | break; |
735 | } | 729 | } |
736 | 730 | ||
737 | /* If I and D space are separate, this will have to be fixed. */ | ||
738 | case PTRACE_POKETEXT: /* write the word at location addr. */ | ||
739 | case PTRACE_POKEDATA: | ||
740 | ret = generic_ptrace_pokedata(child, addr, data); | ||
741 | break; | ||
742 | |||
743 | /* write the word at location addr in the USER area */ | 731 | /* write the word at location addr in the USER area */ |
744 | case PTRACE_POKEUSR: { | 732 | case PTRACE_POKEUSR: { |
745 | unsigned long index; | 733 | unsigned long index; |