aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arc/include/asm/cacheflush.h
diff options
context:
space:
mode:
authorVineet Gupta <vgupta@synopsys.com>2013-05-09 21:55:27 +0530
committerVineet Gupta <vgupta@synopsys.com>2013-05-09 22:00:57 +0530
commitde2a852cc0d4c4d6a9c22a597c9cc231f2e6ceb4 (patch)
treee4d86c107073f9dedaf1886f9f1deeacebb7ca45 /arch/arc/include/asm/cacheflush.h
parentARC: [mm] Aliasing VIPT dcache support 2/4 (diff)
downloadlinux-dev-de2a852cc0d4c4d6a9c22a597c9cc231f2e6ceb4.tar.xz
linux-dev-de2a852cc0d4c4d6a9c22a597c9cc231f2e6ceb4.zip
ARC: [mm] Aliasing VIPT dcache support 3/4
Fix the one zillion warnings Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
Diffstat (limited to 'arch/arc/include/asm/cacheflush.h')
-rw-r--r--arch/arc/include/asm/cacheflush.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/arch/arc/include/asm/cacheflush.h b/arch/arc/include/asm/cacheflush.h
index d692fbb17254..14a0fea0029e 100644
--- a/arch/arc/include/asm/cacheflush.h
+++ b/arch/arc/include/asm/cacheflush.h
@@ -33,7 +33,9 @@ void flush_cache_all(void);
void flush_icache_range(unsigned long start, unsigned long end);
void __sync_icache_dcache(unsigned long paddr, unsigned long vaddr, int len);
void __inv_icache_page(unsigned long paddr, unsigned long vaddr);
-void __flush_dcache_page(unsigned long paddr, unsigned long vaddr);
+void ___flush_dcache_page(unsigned long paddr, unsigned long vaddr);
+#define __flush_dcache_page(p, v) \
+ ___flush_dcache_page((unsigned long)p, (unsigned long)v)
#define ARCH_IMPLEMENTS_FLUSH_DCACHE_PAGE 1