patch-2_6_7-vs1_9_1_12
[linux-2.6.git] / include / asm-m68k / cacheflush.h
index 4da0866..da83998 100644 (file)
@@ -45,7 +45,7 @@ extern void cache_push_v(unsigned long vaddr, int len);
 
 /* cache code */
 #define FLUSH_I_AND_D  (0x00000808)
-#define FLUSH_I        (0x00000008)
+#define FLUSH_I                (0x00000008)
 
 /* This is needed whenever the virtual mapping of the current
    process changes.  */
@@ -95,14 +95,14 @@ static inline void flush_cache_range(struct vm_area_struct *vma,
                                     unsigned long start,
                                     unsigned long end)
 {
-       if (vma->vm_mm == current->mm) 
+       if (vma->vm_mm == current->mm)
                __flush_cache_030();
 }
 
 static inline void flush_cache_page(struct vm_area_struct *vma,
                                    unsigned long vmaddr)
 {
-       if (vma->vm_mm == current->mm)
+       if (vma->vm_mm == current->mm)
                __flush_cache_030();
 }
 
@@ -128,6 +128,8 @@ static inline void __flush_page_to_ram(void *vaddr)
 }
 
 #define flush_dcache_page(page)                __flush_page_to_ram(page_address(page))
+#define flush_dcache_mmap_lock(mapping)                do { } while (0)
+#define flush_dcache_mmap_unlock(mapping)      do { } while (0)
 #define flush_icache_page(vma, page)   __flush_page_to_ram(page_address(page))
 #define flush_icache_user_range(vma,pg,adr,len)        do { } while (0)
 #define copy_to_user_page(vma, page, vaddr, dst, src, len) \