From: John Williams Date: Thu, 17 Sep 2009 11:21:22 +0000 (+1000) Subject: microblaze: Ensure CPU usermode is set on new userspace processes X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=866d72295d52353eeb0c36ccd8e5813dca869265;p=linux-beck.git microblaze: Ensure CPU usermode is set on new userspace processes Signed-off-by: John Williams --- diff --git a/arch/microblaze/kernel/process.c b/arch/microblaze/kernel/process.c index 00b12c6d5326..4201c743cc9f 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