projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e469b0e
)
microblaze: Ensure CPU usermode is set on new userspace processes
author
John Williams
<john.williams@petalogix.com>
Thu, 17 Sep 2009 11:21:22 +0000
(21:21 +1000)
committer
Michal Simek
<monstr@monstr.eu>
Tue, 22 Sep 2009 08:00:41 +0000
(10:00 +0200)
Signed-off-by: John Williams <john.williams@petalogix.com>
arch/microblaze/kernel/process.c
patch
|
blob
|
history
diff --git
a/arch/microblaze/kernel/process.c
b/arch/microblaze/kernel/process.c
index 00b12c6d5326767fc9260df77801a699050cdee7..4201c743cc9fb33e17a52ae057940345d79e2681 100644
(file)
--- 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