microblaze: Fix stack usage in PAGE_SIZE copy_tofrom_user
authorMichal Simek <monstr@monstr.eu>
Fri, 30 Mar 2012 06:21:38 +0000 (08:21 +0200)
committerMichal Simek <monstr@monstr.eu>
Fri, 30 Mar 2012 09:37:13 +0000 (11:37 +0200)
commitac64a9caa55bdfd8d24784f25c68cb7919ddabe3
tree9832daebc0a5c4e97388ff37aae74bf32cbfabfd
parenta28d73ca3ac7fffff317e62167ef26310b951ca0
microblaze: Fix stack usage in PAGE_SIZE copy_tofrom_user

If access to user space failed we need to reconstruct
stack pointer and restore all register.

This patch fixed problem introduces by:
"microblaze: Add loop unrolling for PAGE in copy_tofrom_user"
(sha1: ebe211254bfa6295f4ab0b33c7c881bdfabbab60)

Signed-off-by: Michal Simek <monstr@monstr.eu>
arch/microblaze/lib/uaccess_old.S