commit | f1ae3f6918ee4a437b4166a4deab4bd79629bc09 | [log] [tgz] |
---|---|---|
author | Michal Simek <monstr@monstr.eu> | Fri Sep 25 11:52:50 2009 +0200 |
committer | Michal Simek <monstr@monstr.eu> | Mon Oct 05 11:37:47 2009 +0200 |
tree | 00bfcfa490fac46df26ae01ea32704cb43150874 | |
parent | 374576a8b6f865022c0fd1ca62396889b23d66dd [diff] [blame] |
microblaze: UMS is used only for MMU kernel Signed-off-by: Michal Simek <monstr@monstr.eu>
diff --git a/arch/microblaze/kernel/process.c b/arch/microblaze/kernel/process.c index 4201c74..c592d47 100644 --- a/arch/microblaze/kernel/process.c +++ b/arch/microblaze/kernel/process.c
@@ -235,7 +235,9 @@ regs->pc = pc; regs->r1 = usp; regs->pt_mode = 0; +#ifdef CONFIG_MMU regs->msr |= MSR_UMS; +#endif } #ifdef CONFIG_MMU