Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 235194
b: refs/heads/master
c: c1df53b
h: refs/heads/master
v: v3
  • Loading branch information
Michal Simek committed Mar 9, 2011
1 parent a5a0bf6 commit 5e7b324
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: f699980b0d3c0f4f31e07ef45a48bbe860510a89
refs/heads/master: c1df53b33c818d28d5e3b287530373e78a7904e7
3 changes: 3 additions & 0 deletions trunk/arch/microblaze/include/asm/syscall.h
Original file line number Diff line number Diff line change
Expand Up @@ -96,4 +96,7 @@ static inline void syscall_set_arguments(struct task_struct *task,
microblaze_set_syscall_arg(regs, i++, *args++);
}

asmlinkage long do_syscall_trace_enter(struct pt_regs *regs);
asmlinkage void do_syscall_trace_leave(struct pt_regs *regs);

#endif /* __ASM_MICROBLAZE_SYSCALL_H */
3 changes: 2 additions & 1 deletion trunk/arch/microblaze/kernel/ptrace.c
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@
#include <linux/uaccess.h>
#include <asm/asm-offsets.h>
#include <asm/cacheflush.h>
#include <asm/syscall.h>
#include <asm/io.h>

/* Returns the address where the register at REG_OFFS in P is stashed away. */
Expand Down Expand Up @@ -123,7 +124,7 @@ long arch_ptrace(struct task_struct *child, long request,
rval = -EIO;

if (rval == 0 && request == PTRACE_PEEKUSR)
rval = put_user(val, (unsigned long *)data);
rval = put_user(val, (unsigned long __user *)data);
break;
default:
rval = ptrace_request(child, request, addr, data);
Expand Down

0 comments on commit 5e7b324

Please sign in to comment.