diff options
author | Ingo Molnar <mingo@elte.hu> | 2010-10-30 04:43:08 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2010-10-30 04:43:08 -0400 |
commit | 169ed55bd30305b933f52bfab32a58671d44ab68 (patch) | |
tree | 32e280957474f458901abfce16fa2a1687ef7497 /arch/score/kernel/ptrace.c | |
parent | 3d7851b3cdd43a734e5cc4c643fd886ab28ad4d5 (diff) | |
parent | 45f81b1c96d9793e47ce925d257ea693ce0b193e (diff) |
Merge branch 'tip/perf/jump-label-2' of git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-2.6-trace into perf/urgent
Diffstat (limited to 'arch/score/kernel/ptrace.c')
-rw-r--r-- | arch/score/kernel/ptrace.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/arch/score/kernel/ptrace.c b/arch/score/kernel/ptrace.c index 174c6422b096..55836188b217 100644 --- a/arch/score/kernel/ptrace.c +++ b/arch/score/kernel/ptrace.c | |||
@@ -325,7 +325,8 @@ void ptrace_disable(struct task_struct *child) | |||
325 | } | 325 | } |
326 | 326 | ||
327 | long | 327 | long |
328 | arch_ptrace(struct task_struct *child, long request, long addr, long data) | 328 | arch_ptrace(struct task_struct *child, long request, |
329 | unsigned long addr, unsigned long data) | ||
329 | { | 330 | { |
330 | int ret; | 331 | int ret; |
331 | unsigned long __user *datap = (void __user *)data; | 332 | unsigned long __user *datap = (void __user *)data; |
@@ -335,14 +336,14 @@ arch_ptrace(struct task_struct *child, long request, long addr, long data) | |||
335 | ret = copy_regset_to_user(child, &user_score_native_view, | 336 | ret = copy_regset_to_user(child, &user_score_native_view, |
336 | REGSET_GENERAL, | 337 | REGSET_GENERAL, |
337 | 0, sizeof(struct pt_regs), | 338 | 0, sizeof(struct pt_regs), |
338 | (void __user *)datap); | 339 | datap); |
339 | break; | 340 | break; |
340 | 341 | ||
341 | case PTRACE_SETREGS: | 342 | case PTRACE_SETREGS: |
342 | ret = copy_regset_from_user(child, &user_score_native_view, | 343 | ret = copy_regset_from_user(child, &user_score_native_view, |
343 | REGSET_GENERAL, | 344 | REGSET_GENERAL, |
344 | 0, sizeof(struct pt_regs), | 345 | 0, sizeof(struct pt_regs), |
345 | (const void __user *)datap); | 346 | datap); |
346 | break; | 347 | break; |
347 | 348 | ||
348 | default: | 349 | default: |