projects
/
platform
/
kernel
/
linux-3.10.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
|
history
diff --git
a/arch/microblaze/kernel/setup.c
b/arch/microblaze/kernel/setup.c
index
5372b24
..
bb8c4b9
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();