microblaze: fix __user annotations
authorArnd Bergmann <arnd@arndb.de>
Fri, 1 May 2009 13:37:46 +0000 (13:37 +0000)
committerMichal Simek <monstr@monstr.eu>
Thu, 21 May 2009 13:56:05 +0000 (15:56 +0200)
commit353b431bafc42ed8782c7aec7fb819ca4e385ab1
tree0e454e08d6b8170616a0d869e231110200b65765
parent5af7fa68103e7b2efb0fd9d901b1c25bad96fd21
microblaze: fix __user annotations

The microblaze signal handling code gets some __user
pointers wrong, as shown by sparse.
This adds the annotations where appropriate and
change sys_rt_sigreturn to correctly pass a user
stack down to do_sigaltstack instead of a kernel
structure.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Michal Simek <monstr@monstr.eu>
arch/microblaze/kernel/signal.c