Skip to content
Snippets Groups Projects
Commit 866d7229 authored by John Williams's avatar John Williams Committed by Michal Simek
Browse files

microblaze: Ensure CPU usermode is set on new userspace processes


Signed-off-by: default avatarJohn Williams <john.williams@petalogix.com>
parent e469b0eb
No related branches found
No related tags found
No related merge requests found
......@@ -235,6 +235,7 @@ void start_thread(struct pt_regs *regs, unsigned long pc, unsigned long usp)
regs->pc = pc;
regs->r1 = usp;
regs->pt_mode = 0;
regs->msr |= MSR_UMS;
}
#ifdef CONFIG_MMU
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment