xtensa: Fix FLUSH_DCACHE macro for some variants.
authorChris Zankel <chris@zankel.net>
Sun, 2 May 2010 05:55:21 +0000 (22:55 -0700)
committerChris Zankel <chris@zankel.net>
Sun, 2 May 2010 05:55:21 +0000 (22:55 -0700)
Define ARCH_IMPLEMENTS_FLUSH_DCACHE_PAGE also for processor configurations
that don't have cache-aliasing.

Signed-off-by: Chris Zankel <chris@zankel.net>
arch/xtensa/include/asm/cacheflush.h

index a508f2f..376cd9d 100644 (file)
@@ -115,6 +115,7 @@ extern void flush_cache_page(struct vm_area_struct*, unsigned long, unsigned lon
 #define flush_cache_vmap(start,end)                    do { } while (0)
 #define flush_cache_vunmap(start,end)                  do { } while (0)
 
+#define ARCH_IMPLEMENTS_FLUSH_DCACHE_PAGE 0
 #define flush_dcache_page(page)                                do { } while (0)
 
 #define flush_cache_page(vma,addr,pfn)                 do { } while (0)