Browse Source

xtensa: Fix FLUSH_DCACHE macro for some variants.

Define ARCH_IMPLEMENTS_FLUSH_DCACHE_PAGE also for processor configurations
that don't have cache-aliasing.

Signed-off-by: Chris Zankel <chris@zankel.net>
Chris Zankel 15 years ago
parent
commit
91e0806332
1 changed files with 1 additions and 0 deletions
  1. 1 0
      arch/xtensa/include/asm/cacheflush.h

+ 1 - 0
arch/xtensa/include/asm/cacheflush.h

@@ -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_vmap(start,end)			do { } while (0)
 #define flush_cache_vunmap(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_dcache_page(page)				do { } while (0)
 
 
 #define flush_cache_page(vma,addr,pfn)			do { } while (0)
 #define flush_cache_page(vma,addr,pfn)			do { } while (0)