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-sh4/cpu/cacheflush.h | |
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-sh4/cpu/cacheflush.h')
-rw-r--r-- | arch/sh/include/cpu-sh4/cpu/cacheflush.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/arch/sh/include/cpu-sh4/cpu/cacheflush.h b/arch/sh/include/cpu-sh4/cpu/cacheflush.h index 0afcf94ae554..67d9bc98a589 100644 --- a/arch/sh/include/cpu-sh4/cpu/cacheflush.h +++ b/arch/sh/include/cpu-sh4/cpu/cacheflush.h | |||
@@ -24,10 +24,6 @@ void flush_cache_range(struct vm_area_struct *vma, unsigned long start, | |||
24 | void flush_cache_page(struct vm_area_struct *vma, unsigned long addr, | 24 | void flush_cache_page(struct vm_area_struct *vma, unsigned long addr, |
25 | unsigned long pfn); | 25 | unsigned long pfn); |
26 | void flush_dcache_page(struct page *pg); | 26 | void flush_dcache_page(struct page *pg); |
27 | |||
28 | #define flush_dcache_mmap_lock(mapping) do { } while (0) | ||
29 | #define flush_dcache_mmap_unlock(mapping) do { } while (0) | ||
30 | |||
31 | void flush_icache_range(unsigned long start, unsigned long end); | 27 | void flush_icache_range(unsigned long start, unsigned long end); |
32 | void flush_icache_user_range(struct vm_area_struct *vma, struct page *page, | 28 | void flush_icache_user_range(struct vm_area_struct *vma, struct page *page, |
33 | unsigned long addr, int len); | 29 | unsigned long addr, int len); |