diff options
author | John Williams <john.williams@petalogix.com> | 2009-09-17 11:21:22 (GMT) |
---|---|---|
committer | Michal Simek <monstr@monstr.eu> | 2009-09-22 08:00:41 (GMT) |
commit | 866d72295d52353eeb0c36ccd8e5813dca869265 (patch) | |
tree | 9ce527fd4c0263816e48e3e55be11fa4ae556ace /arch/microblaze/kernel/process.c | |
parent | e469b0eb36c8abf033435c4918b03eaab159e002 (diff) | |
download | linux-866d72295d52353eeb0c36ccd8e5813dca869265.tar.xz |
microblaze: Ensure CPU usermode is set on new userspace processes
Signed-off-by: John Williams <john.williams@petalogix.com>
Diffstat (limited to 'arch/microblaze/kernel/process.c')
-rw-r--r-- | arch/microblaze/kernel/process.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/microblaze/kernel/process.c b/arch/microblaze/kernel/process.c index 00b12c6..4201c74 100644 --- a/arch/microblaze/kernel/process.c +++ b/arch/microblaze/kernel/process.c @@ -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 |