commit | 407c1da07d5afa001ed0fdb8f379c00bbd09990a | [log] [tgz] |
---|---|---|
author | Michal Simek <monstr@monstr.eu> | Tue Jan 12 14:51:04 2010 +0100 |
committer | Michal Simek <monstr@monstr.eu> | Thu Mar 11 14:07:57 2010 +0100 |
tree | 43421994f3e384d74b44bce71dd74af14102031f | |
parent | 777537905744c28b02c283692e7f75f5445c1afa [diff] [blame] |
microblaze: Move cache function to cache.c It is better to have init cache handling on one place. Signed-off-by: Michal Simek <monstr@monstr.eu>
diff --git a/arch/microblaze/kernel/cpu/cache.c b/arch/microblaze/kernel/cpu/cache.c index 2a56bcc..5425f89 100644 --- a/arch/microblaze/kernel/cpu/cache.c +++ b/arch/microblaze/kernel/cpu/cache.c
@@ -532,4 +532,9 @@ } } } + invalidate_dcache(); + enable_dcache(); + + invalidate_icache(); + enable_icache(); }