]> rtime.felk.cvut.cz Git - mcf548x/linux.git/blobdiff - arch/m68k/include/asm/tlbflush.h
Various compilation fixes.
[mcf548x/linux.git] / arch / m68k / include / asm / tlbflush.h
index a6b4ed4fc90faf9acdb31262fca3623f1f09cc40..a06262bd2dcb11dc304086e591460ba7992f982a 100644 (file)
@@ -2,7 +2,7 @@
 #define _M68K_TLBFLUSH_H
 
 #ifdef CONFIG_MMU
-#ifndef CONFIG_SUN3
+#if !defined(CONFIG_SUN3) && !defined(CONFIG_COLDFIRE)
 
 #include <asm/current.h>
 
@@ -92,7 +92,7 @@ static inline void flush_tlb_kernel_range(unsigned long start, unsigned long end
        flush_tlb_all();
 }
 
-#else
+#elif defined(CONFIG_SUN3)
 
 
 /* Reserved PMEGs. */
@@ -214,6 +214,8 @@ static inline void flush_tlb_kernel_page (unsigned long addr)
        sun3_put_segmap (addr & ~(SUN3_PMEG_SIZE - 1), SUN3_INVALID_PMEG);
 }
 
+#else /* CONFIG_COLDFIRE */
+#include <asm/mcf_tlbflush.h>
 #endif
 
 #else /* !CONFIG_MMU */
@@ -262,6 +264,7 @@ static inline void flush_tlb_kernel_page(unsigned long addr)
        BUG();
 }
 
+
 #endif /* CONFIG_MMU */
 
 #endif /* _M68K_TLBFLUSH_H */