projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6339204
)
microblaze: Invalidate dcache before enabling it
author
Michal Simek
<monstr@monstr.eu>
Mon, 1 Feb 2010 11:15:58 +0000
(12:15 +0100)
committer
Michal Simek
<monstr@monstr.eu>
Mon, 8 Feb 2010 10:39:18 +0000
(11:39 +0100)
We found that on write-trough kernel is necessary to do that invalidation.
One WB is possible to use invalidation too.
Signed-off-by: Michal Simek <monstr@monstr.eu>
arch/microblaze/kernel/setup.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/microblaze/kernel/setup.c
b/arch/microblaze/kernel/setup.c
index 5372b24ad049cf92cfd881927c21f5e559a54089..bb8c4b9ccb8019bb54cb585a5e8d1f2e77f3acb9 100644
(file)
--- a/
arch/microblaze/kernel/setup.c
+++ b/
arch/microblaze/kernel/setup.c
@@
-54,6
+54,7
@@
void __init setup_arch(char **cmdline_p)
microblaze_cache_init();
+ invalidate_dcache();
enable_dcache();
invalidate_icache();