Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f1ae3f69 authored by Michal Simek's avatar Michal Simek
Browse files

microblaze: UMS is used only for MMU kernel



Signed-off-by: default avatarMichal Simek <monstr@monstr.eu>
parent 374576a8
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -235,7 +235,9 @@ void start_thread(struct pt_regs *regs, unsigned long pc, unsigned long usp)
	regs->pc = pc;
	regs->r1 = usp;
	regs->pt_mode = 0;
#ifdef CONFIG_MMU
	regs->msr |= MSR_UMS;
#endif
}

#ifdef CONFIG_MMU