diff options
author | Namhyung Kim <namhyung@gmail.com> | 2010-10-27 15:34:01 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2010-10-27 18:03:12 -0700 |
commit | 41a2437eb1d175efe1958e283241a66a871dbdea (patch) | |
tree | ae9f4c46de79ecf45d8f7ea3c01c8e97d82bc70f /arch/score/kernel | |
parent | f68d2048206389603d646b06e3cc16f1bbc3ff88 (diff) | |
download | blackbird-op-linux-41a2437eb1d175efe1958e283241a66a871dbdea.tar.gz blackbird-op-linux-41a2437eb1d175efe1958e283241a66a871dbdea.zip |
ptrace: cleanup arch_ptrace() on score
Remove unnecessary castings.
Signed-off-by: Namhyung Kim <namhyung@gmail.com>
Cc: Chen Liqin <liqin.chen@sunplusct.com>
Cc: Lennox Wu <lennox.wu@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch/score/kernel')
-rw-r--r-- | arch/score/kernel/ptrace.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/score/kernel/ptrace.c b/arch/score/kernel/ptrace.c index 894dcbf72099..55836188b217 100644 --- a/arch/score/kernel/ptrace.c +++ b/arch/score/kernel/ptrace.c @@ -336,14 +336,14 @@ arch_ptrace(struct task_struct *child, long request, ret = copy_regset_to_user(child, &user_score_native_view, REGSET_GENERAL, 0, sizeof(struct pt_regs), - (void __user *)datap); + datap); break; case PTRACE_SETREGS: ret = copy_regset_from_user(child, &user_score_native_view, REGSET_GENERAL, 0, sizeof(struct pt_regs), - (const void __user *)datap); + datap); break; default: |