Skip to content

Commit f1ae3f6

Browse files
committed
microblaze: UMS is used only for MMU kernel
Signed-off-by: Michal Simek <monstr@monstr.eu>
1 parent 374576a commit f1ae3f6

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

‎arch/microblaze/kernel/process.c‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -235,7 +235,9 @@ void start_thread(struct pt_regs *regs, unsigned long pc, unsigned long usp)
235235
regs->pc = pc;
236236
regs->r1 = usp;
237237
regs->pt_mode = 0;
238+
#ifdef CONFIG_MMU
238239
regs->msr |= MSR_UMS;
240+
#endif
239241
}
240242

241243
#ifdef CONFIG_MMU

0 commit comments

Comments
 (0)