提交 866d7229 编写于 作者: J John Williams 提交者: Michal Simek

microblaze: Ensure CPU usermode is set on new userspace processes

Signed-off-by: NJohn Williams <john.williams@petalogix.com>
上级 e469b0eb
......@@ -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
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册