sh: consolidate flush_dcache_mmap_lock/unlock() definitions.

All of the flush_dcache_mmap_lock()/flush_dcache_mmap_unlock()
definitions are identical across all CPUs, so just provide them
generically in asm/cacheflush.h.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
This commit is contained in:
Paul Mundt
2009-08-15 11:25:32 +09:00
parent 0b445dcaf3
commit 7fbb2d3bdd
6 changed files with 3 additions and 17 deletions

View File

@@ -20,10 +20,6 @@ extern void flush_icache_user_range(struct vm_area_struct *vma,
int len);
#define flush_cache_dup_mm(mm) flush_cache_mm(mm)
#define flush_dcache_mmap_lock(mapping) do { } while (0)
#define flush_dcache_mmap_unlock(mapping) do { } while (0)
#define flush_icache_page(vma, page) do { } while (0)
#endif /* __ASSEMBLY__ */