summaryrefslogtreecommitdiff
path: root/dyngen.h
diff options
context:
space:
mode:
Diffstat (limited to 'dyngen.h')
-rw-r--r--dyngen.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/dyngen.h b/dyngen.h
index 47fe263e4b..cc38228b74 100644
--- a/dyngen.h
+++ b/dyngen.h
@@ -94,6 +94,14 @@ static inline void flush_icache_range(unsigned long start, unsigned long stop)
}
#endif
+#ifdef __mc68000
+#include <asm/cachectl.h>
+static inline void flush_icache_range(unsigned long start, unsigned long stop)
+{
+ cacheflush(start,FLUSH_SCOPE_LINE,FLUSH_CACHE_BOTH,stop-start+16);
+}
+#endif
+
#ifdef __alpha__
register int gp asm("$29");