summaryrefslogtreecommitdiffstats
path: root/arch/score
diff options
context:
space:
mode:
authorNamhyung Kim <namhyung@gmail.com>2010-10-27 15:34:01 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2010-10-27 18:03:12 -0700
commit41a2437eb1d175efe1958e283241a66a871dbdea (patch)
treeae9f4c46de79ecf45d8f7ea3c01c8e97d82bc70f /arch/score
parentf68d2048206389603d646b06e3cc16f1bbc3ff88 (diff)
downloadlinux-41a2437eb1d175efe1958e283241a66a871dbdea.tar.gz
linux-41a2437eb1d175efe1958e283241a66a871dbdea.tar.bz2
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')
-rw-r--r--arch/score/kernel/ptrace.c4
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: