summaryrefslogtreecommitdiffstats
path: root/arch/microblaze/kernel/process.c
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2012-10-10 11:52:44 -0400
committerMichal Simek <michal.simek@xilinx.com>2012-11-16 08:45:47 +0100
commit99c59f60fd751876c37fbea01e55606441ac6db4 (patch)
tree20acbb5f052686052c62a315eb0e25e926b0d2c0 /arch/microblaze/kernel/process.c
parent2319295dd8dbd076afa136bffb797ef726b605a0 (diff)
downloadblackbird-op-linux-99c59f60fd751876c37fbea01e55606441ac6db4.tar.gz
blackbird-op-linux-99c59f60fd751876c37fbea01e55606441ac6db4.zip
microblaze: switch to generic kernel_execve()
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Diffstat (limited to 'arch/microblaze/kernel/process.c')
-rw-r--r--arch/microblaze/kernel/process.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/microblaze/kernel/process.c b/arch/microblaze/kernel/process.c
index cbf8bb92f159..29768c3dc358 100644
--- a/arch/microblaze/kernel/process.c
+++ b/arch/microblaze/kernel/process.c
@@ -215,6 +215,7 @@ void start_thread(struct pt_regs *regs, unsigned long pc, unsigned long usp)
regs->pt_mode = 0;
#ifdef CONFIG_MMU
regs->msr |= MSR_UMS;
+ regs->msr &= ~MSR_VM;
#endif
}
OpenPOWER on IntegriCloud