patch-2_6_7-vs1_9_1_12
[linux-2.6.git] / include / asm-m68knommu / cacheflush.h
index 3789be8..f7182c4 100644 (file)
@@ -12,6 +12,8 @@
 #define flush_cache_page(vma, vmaddr)          do { } while (0)
 #define flush_dcache_range(start,len)          do { } while (0)
 #define flush_dcache_page(page)                        do { } while (0)
+#define flush_dcache_mmap_lock(mapping)                do { } while (0)
+#define flush_dcache_mmap_unlock(mapping)      do { } while (0)
 #define flush_icache_range(start,len)          __flush_cache_all()
 #define flush_icache_page(vma,pg)              do { } while (0)
 #define flush_icache_user_range(vma,pg,adr,len)        do { } while (0)
@@ -37,13 +39,15 @@ extern inline void __flush_cache_all(void)
                "1:\n\t"
                "movel  %%d0,%%a0\n\t"
                "2:\n\t"
-               ".word  0xf4e8\n\t"
+               ".word  0xf468\n\t"
                "addl   #0x10,%%a0\n\t"
                "cmpl   #0x00000800,%%a0\n\t"
                "blt    2b\n\t"
                "addql  #1,%%d0\n\t"
                "cmpil  #4,%%d0\n\t"
                "bne    1b\n\t"
+               "movel  #0xb6088500,%%d0\n\t"
+               "movec  %%d0,%%CACR\n\t"
                : : : "d0", "a0" );
 #endif /* CONFIG_M5407 */
 #ifdef CONFIG_M5272