diff options
Diffstat (limited to 'arch/sh/mm/cache-sh4.c')
-rw-r--r-- | arch/sh/mm/cache-sh4.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/sh/mm/cache-sh4.c b/arch/sh/mm/cache-sh4.c index 639bb329fc81..56dd55a1b13e 100644 --- a/arch/sh/mm/cache-sh4.c +++ b/arch/sh/mm/cache-sh4.c | |||
@@ -88,12 +88,12 @@ static inline void flush_cache_4096(unsigned long start, | |||
88 | unsigned long flags, exec_offset = 0; | 88 | unsigned long flags, exec_offset = 0; |
89 | 89 | ||
90 | /* | 90 | /* |
91 | * All types of SH-4 require PC to be in P2 to operate on the I-cache. | 91 | * All types of SH-4 require PC to be uncached to operate on the I-cache. |
92 | * Some types of SH-4 require PC to be in P2 to operate on the D-cache. | 92 | * Some types of SH-4 require PC to be uncached to operate on the D-cache. |
93 | */ | 93 | */ |
94 | if ((boot_cpu_data.flags & CPU_HAS_P2_FLUSH_BUG) || | 94 | if ((boot_cpu_data.flags & CPU_HAS_P2_FLUSH_BUG) || |
95 | (start < CACHE_OC_ADDRESS_ARRAY)) | 95 | (start < CACHE_OC_ADDRESS_ARRAY)) |
96 | exec_offset = 0x20000000; | 96 | exec_offset = cached_to_uncached; |
97 | 97 | ||
98 | local_irq_save(flags); | 98 | local_irq_save(flags); |
99 | __flush_cache_4096(start | SH_CACHE_ASSOC, | 99 | __flush_cache_4096(start | SH_CACHE_ASSOC, |