microblaze: Fix sparse warnings - ptrace
authorMichal Simek <monstr@monstr.eu>
Mon, 7 Feb 2011 10:38:57 +0000 (11:38 +0100)
committerMichal Simek <monstr@monstr.eu>
Wed, 9 Mar 2011 07:09:58 +0000 (08:09 +0100)
commitc1df53b33c818d28d5e3b287530373e78a7904e7
tree4a0f6a299a360462350b2a0dbfb1f564226825c0
parentf699980b0d3c0f4f31e07ef45a48bbe860510a89
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>
arch/microblaze/include/asm/syscall.h
arch/microblaze/kernel/ptrace.c