projects
/
GitHub
/
exynos8895
/
android_kernel_samsung_universal8895.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
374576a
)
microblaze: UMS is used only for MMU kernel
author
Michal Simek
<monstr@monstr.eu>
Fri, 25 Sep 2009 09:52:50 +0000
(11:52 +0200)
committer
Michal Simek
<monstr@monstr.eu>
Mon, 5 Oct 2009 09:37:47 +0000
(11:37 +0200)
Signed-off-by: Michal Simek <monstr@monstr.eu>
arch/microblaze/kernel/process.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/microblaze/kernel/process.c
b/arch/microblaze/kernel/process.c
index 4201c743cc9fb33e17a52ae057940345d79e2681..c592d475b3d890a50061f8f3b265c4516457d749 100644
(file)
--- a/
arch/microblaze/kernel/process.c
+++ b/
arch/microblaze/kernel/process.c
@@
-235,7
+235,9
@@
void start_thread(struct pt_regs *regs, unsigned long pc, unsigned long usp)
regs->pc = pc;
regs->r1 = usp;
regs->pt_mode = 0;
+#ifdef CONFIG_MMU
regs->msr |= MSR_UMS;
+#endif
}
#ifdef CONFIG_MMU