diff options
author | Michal Simek <monstr@monstr.eu> | 2011-02-07 10:38:57 (GMT) |
---|---|---|
committer | Michal Simek <monstr@monstr.eu> | 2011-03-09 07:09:58 (GMT) |
commit | c1df53b33c818d28d5e3b287530373e78a7904e7 (patch) | |
tree | 4a0f6a299a360462350b2a0dbfb1f564226825c0 /arch/microblaze/include | |
parent | f699980b0d3c0f4f31e07ef45a48bbe860510a89 (diff) | |
download | linux-fsl-qoriq-c1df53b33c818d28d5e3b287530373e78a7904e7.tar.xz |
microblaze: Fix sparse warnings - ptrace
Warning log:
CHECK arch/microblaze/kernel/ptrace.c
arch/microblaze/kernel/ptrace.c:126:11: warning: incorrect type in initializer (different address spaces)
arch/microblaze/kernel/ptrace.c:126:11: expected unknown type 2[noderef] *__pu_addr<asn:1>
arch/microblaze/kernel/ptrace.c:126:11: got unsigned long *<noident>
arch/microblaze/kernel/ptrace.c:134:17: warning: symbol 'do_syscall_trace_enter' was not declared. Should it be static?
arch/microblaze/kernel/ptrace.c:157:17: warning: symbol 'do_syscall_trace_leave' was not declared. Should it be static?
Signed-off-by: Michal Simek <monstr@monstr.eu>
Diffstat (limited to 'arch/microblaze/include')
-rw-r--r-- | arch/microblaze/include/asm/syscall.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/microblaze/include/asm/syscall.h b/arch/microblaze/include/asm/syscall.h index 048dfcd..9bc4317 100644 --- a/arch/microblaze/include/asm/syscall.h +++ b/arch/microblaze/include/asm/syscall.h @@ -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 */ |