diff options
author | Michal Simek <monstr@monstr.eu> | 2010-02-01 12:15:58 +0100 |
---|---|---|
committer | Michal Simek <monstr@monstr.eu> | 2010-02-08 11:39:18 +0100 |
commit | a6013411118a6c8c34f1bd8b047b36fdf9711590 (patch) | |
tree | 80d178eb83ee66f259dde2b74db2fbccd6e2c73b | |
parent | 6339204ecc2aa2067a99595522de0403f0854bb8 (diff) | |
download | blackbird-obmc-linux-a6013411118a6c8c34f1bd8b047b36fdf9711590.tar.gz blackbird-obmc-linux-a6013411118a6c8c34f1bd8b047b36fdf9711590.zip |
microblaze: Invalidate dcache before enabling it
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>
-rw-r--r-- | arch/microblaze/kernel/setup.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/microblaze/kernel/setup.c b/arch/microblaze/kernel/setup.c index 5372b24ad049..bb8c4b9ccb80 100644 --- 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(); |