mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
synced 2025-01-14 09:47:20 +00:00
microblaze: Ensure CPU usermode is set on new userspace processes
Signed-off-by: John Williams <john.williams@petalogix.com>
This commit is contained in:
parent
e469b0eb36
commit
866d72295d
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user