microblaze: UMS is used only for MMU kernel
Signed-off-by: Michal Simek <monstr@monstr.eu>
This commit is contained in:
@@ -235,7 +235,9 @@ void start_thread(struct pt_regs *regs, unsigned long pc, unsigned long usp)
|
|||||||
regs->pc = pc;
|
regs->pc = pc;
|
||||||
regs->r1 = usp;
|
regs->r1 = usp;
|
||||||
regs->pt_mode = 0;
|
regs->pt_mode = 0;
|
||||||
|
#ifdef CONFIG_MMU
|
||||||
regs->msr |= MSR_UMS;
|
regs->msr |= MSR_UMS;
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef CONFIG_MMU
|
#ifdef CONFIG_MMU
|
||||||
|
Reference in New Issue
Block a user