microblaze: Implement clear_ums macro and fix SAVE_STATE macro
commitb318067e2c946a560035faf47e24a20e50696cce
authorMichal Simek <monstr@monstr.eu>
Tue, 22 Jun 2010 15:46:27 +0000 (22 17:46 +0200)
committerMichal Simek <monstr@monstr.eu>
Wed, 4 Aug 2010 08:29:44 +0000 (4 10:29 +0200)
tree7818d4285ef257f9b989bd032d3b59d9e0b5732c
parent77f6d226050e2d8f046e268a9f84ec834172f0de
microblaze: Implement clear_ums macro and fix SAVE_STATE macro

VMS is always setup because VM mode was before
exception/syscall/interrupt. Kernel continues in kernel mode
that's why we have to clear UMS bit if kernel comes from
user space.

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