diff options
author | Paul Mundt <lethal@linux-sh.org> | 2009-08-14 22:25:32 -0400 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2009-08-14 22:25:32 -0400 |
commit | 7fbb2d3bdd33e58f54e360df0723d754f0b66153 (patch) | |
tree | c96b76a03479f5d882568c3a6e62a91e4ecb9dde /arch/sh/include/cpu-sh5 | |
parent | 0b445dcaf3adda5bec5cc494925bc689fcc59a0e (diff) |
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>
Diffstat (limited to 'arch/sh/include/cpu-sh5')
-rw-r--r-- | arch/sh/include/cpu-sh5/cpu/cacheflush.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/arch/sh/include/cpu-sh5/cpu/cacheflush.h b/arch/sh/include/cpu-sh5/cpu/cacheflush.h index 8350cc7ed1c..e9c26bdf314 100644 --- a/arch/sh/include/cpu-sh5/cpu/cacheflush.h +++ b/arch/sh/include/cpu-sh5/cpu/cacheflush.h | |||
@@ -20,10 +20,6 @@ extern void flush_icache_user_range(struct vm_area_struct *vma, | |||
20 | int len); | 20 | int len); |
21 | 21 | ||
22 | #define flush_cache_dup_mm(mm) flush_cache_mm(mm) | 22 | #define flush_cache_dup_mm(mm) flush_cache_mm(mm) |
23 | |||
24 | #define flush_dcache_mmap_lock(mapping) do { } while (0) | ||
25 | #define flush_dcache_mmap_unlock(mapping) do { } while (0) | ||
26 | |||
27 | #define flush_icache_page(vma, page) do { } while (0) | 23 | #define flush_icache_page(vma, page) do { } while (0) |
28 | 24 | ||
29 | #endif /* __ASSEMBLY__ */ | 25 | #endif /* __ASSEMBLY__ */ |