]> rtime.felk.cvut.cz Git - mcf548x/linux.git/blobdiff - arch/m68k/include/asm/mcf_cacheflush_m547x_8x.h
Current (FEC from 2.6.31 port, no CAN, no I2C, no PCI)
[mcf548x/linux.git] / arch / m68k / include / asm / mcf_cacheflush_m547x_8x.h
index 7898c82ad683aeb1ad7fa9397e6a3152dbdb0b76..7143f39bcbf8b632b80efe8cd23c9358bfa0599c 100644 (file)
@@ -16,6 +16,8 @@
 #ifndef _M68K_MCF_M547X_8X_CACHEFLUSH_H
 #define _M68K_MCF_M547X_8X_CACHEFLUSH_H
 
+#include <asm/mcfcache.h>
+
 /*
  * Cache handling functions
  */
@@ -190,6 +192,8 @@ extern inline void __flush_page_to_ram(void *address)
   }
 }
 
+#define ARCH_IMPLEMENTS_FLUSH_DCACHE_PAGE 1
+
 /* Use __flush_page_to_ram() for flush_dcache_page all values are same - MW */
 #define flush_dcache_page(page)                        \
        __flush_page_to_ram((void *) page_address(page))
@@ -201,7 +205,7 @@ extern inline void __flush_page_to_ram(void *address)
 
 /* Push n pages at kernel virtual address and clear the icache */
 /* RZ: use cpush %bc instead of cpush %dc, cinv %ic */
-extern inline void flush_icache_range (unsigned long address,
+static inline void flush_icache_range (unsigned long address,
                                       unsigned long endaddr)
 {
   unsigned long set;