13 #include <linux/mman.h>
17 #include <asm/addrspace.h>
19 #include <asm/pgtable.h>
20 #include <asm/processor.h>
21 #include <asm/cache.h>
23 #include <asm/uaccess.h>
24 #include <asm/pgalloc.h>
25 #include <asm/mmu_context.h>
26 #include <asm/cacheflush.h>
32 static inline void cache_wback_all(
void)
34 unsigned long ways, waysize, addrstart;
45 for (addr = addrstart;
46 addr < addrstart + waysize;
67 static void sh7705_flush_icache_range(
void *args)
69 struct flusher_data *data = args;
83 unsigned long ways, waysize, addrstart;
113 for (addr = addrstart;
114 addr < addrstart + waysize;
136 static void sh7705_flush_dcache_page(
void *
arg)
141 if (mapping && !mapping_mapped(mapping))
147 static void sh7705_flush_cache_all(
void *args)
164 static void sh7705_flush_cache_page(
void *args)
166 struct flusher_data *data = args;
167 unsigned long pfn = data->addr2;
180 static void sh7705_flush_icache_page(
void *page)