diff options
Diffstat (limited to 'arch/arc/include')
-rw-r--r-- | arch/arc/include/asm/cacheflush.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/arch/arc/include/asm/cacheflush.h b/arch/arc/include/asm/cacheflush.h index 46f13e7314dc..65ed8d2d4597 100644 --- a/arch/arc/include/asm/cacheflush.h +++ b/arch/arc/include/asm/cacheflush.h | |||
@@ -31,8 +31,7 @@ | |||
31 | void flush_cache_all(void); | 31 | void flush_cache_all(void); |
32 | 32 | ||
33 | void flush_icache_range(unsigned long start, unsigned long end); | 33 | void flush_icache_range(unsigned long start, unsigned long end); |
34 | void flush_icache_range_vaddr(unsigned long paddr, unsigned long u_vaddr, | 34 | void __sync_icache_dcache(unsigned long paddr, unsigned long vaddr, int len); |
35 | int len); | ||
36 | void __inv_icache_page(unsigned long paddr, unsigned long vaddr); | 35 | void __inv_icache_page(unsigned long paddr, unsigned long vaddr); |
37 | 36 | ||
38 | #define ARCH_IMPLEMENTS_FLUSH_DCACHE_PAGE 1 | 37 | #define ARCH_IMPLEMENTS_FLUSH_DCACHE_PAGE 1 |
@@ -66,7 +65,7 @@ void dma_cache_wback(unsigned long start, unsigned long sz); | |||
66 | do { \ | 65 | do { \ |
67 | memcpy(dst, src, len); \ | 66 | memcpy(dst, src, len); \ |
68 | if (vma->vm_flags & VM_EXEC) \ | 67 | if (vma->vm_flags & VM_EXEC) \ |
69 | flush_icache_range_vaddr((unsigned long)(dst), vaddr, len);\ | 68 | __sync_icache_dcache((unsigned long)(dst), vaddr, len); \ |
70 | } while (0) | 69 | } while (0) |
71 | 70 | ||
72 | #define copy_from_user_page(vma, page, vaddr, dst, src, len) \ | 71 | #define copy_from_user_page(vma, page, vaddr, dst, src, len) \ |