diff options
Diffstat (limited to 'arch/sh/mm/cache-sh4.c')
-rw-r--r-- | arch/sh/mm/cache-sh4.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/sh/mm/cache-sh4.c b/arch/sh/mm/cache-sh4.c index f36a08bf3d5c..560ddb6bc8a7 100644 --- a/arch/sh/mm/cache-sh4.c +++ b/arch/sh/mm/cache-sh4.c | |||
@@ -256,8 +256,7 @@ static void sh4_flush_cache_page(void *args) | |||
256 | address = (unsigned long)vaddr; | 256 | address = (unsigned long)vaddr; |
257 | } | 257 | } |
258 | 258 | ||
259 | if (pages_do_alias(address, phys)) | 259 | flush_cache_one(CACHE_OC_ADDRESS_ARRAY | |
260 | flush_cache_one(CACHE_OC_ADDRESS_ARRAY | | ||
261 | (address & shm_align_mask), phys); | 260 | (address & shm_align_mask), phys); |
262 | 261 | ||
263 | if (vma->vm_flags & VM_EXEC) | 262 | if (vma->vm_flags & VM_EXEC) |