diff options
author | Michal Simek <monstr@monstr.eu> | 2010-02-01 06:15:58 -0500 |
---|---|---|
committer | Michal Simek <monstr@monstr.eu> | 2010-02-08 05:39:18 -0500 |
commit | a6013411118a6c8c34f1bd8b047b36fdf9711590 (patch) | |
tree | 80d178eb83ee66f259dde2b74db2fbccd6e2c73b /arch | |
parent | 6339204ecc2aa2067a99595522de0403f0854bb8 (diff) |
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>
Diffstat (limited to 'arch')
-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) | |||
54 | 54 | ||
55 | microblaze_cache_init(); | 55 | microblaze_cache_init(); |
56 | 56 | ||
57 | invalidate_dcache(); | ||
57 | enable_dcache(); | 58 | enable_dcache(); |
58 | 59 | ||
59 | invalidate_icache(); | 60 | invalidate_icache(); |