aboutsummaryrefslogtreecommitdiffstats
path: root/arch/score/kernel/ptrace.c
diff options
context:
space:
mode:
authorNamhyung Kim <namhyung@gmail.com>2010-10-27 18:34:01 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2010-10-27 21:03:12 -0400
commit41a2437eb1d175efe1958e283241a66a871dbdea (patch)
treeae9f4c46de79ecf45d8f7ea3c01c8e97d82bc70f /arch/score/kernel/ptrace.c
parentf68d2048206389603d646b06e3cc16f1bbc3ff88 (diff)
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/ptrace.c')
-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 894dcbf7209..55836188b21 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,
336 ret = copy_regset_to_user(child, &user_score_native_view, 336 ret = copy_regset_to_user(child, &user_score_native_view,
337 REGSET_GENERAL, 337 REGSET_GENERAL,
338 0, sizeof(struct pt_regs), 338 0, sizeof(struct pt_regs),
339 (void __user *)datap); 339 datap);
340 break; 340 break;
341 341
342 case PTRACE_SETREGS: 342 case PTRACE_SETREGS:
343 ret = copy_regset_from_user(child, &user_score_native_view, 343 ret = copy_regset_from_user(child, &user_score_native_view,
344 REGSET_GENERAL, 344 REGSET_GENERAL,
345 0, sizeof(struct pt_regs), 345 0, sizeof(struct pt_regs),
346 (const void __user *)datap); 346 datap);
347 break; 347 break;
348 348
349 default: 349 default: