summaryrefslogtreecommitdiff
path: root/arch/sh/include/cpu-sh2a
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2009-08-15 11:25:32 +0900
committerPaul Mundt <lethal@linux-sh.org>2009-08-15 11:25:32 +0900
commit7fbb2d3bdd33e58f54e360df0723d754f0b66153 (patch)
treec96b76a03479f5d882568c3a6e62a91e4ecb9dde /arch/sh/include/cpu-sh2a
parent0b445dcaf3adda5bec5cc494925bc689fcc59a0e (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-sh2a')
-rw-r--r--arch/sh/include/cpu-sh2a/cpu/cacheflush.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/sh/include/cpu-sh2a/cpu/cacheflush.h b/arch/sh/include/cpu-sh2a/cpu/cacheflush.h
index b9eaa19325e2..e9ecb6d3dd34 100644
--- a/arch/sh/include/cpu-sh2a/cpu/cacheflush.h
+++ b/arch/sh/include/cpu-sh2a/cpu/cacheflush.h
@@ -23,8 +23,6 @@
#define flush_cache_range(vma, start, end) do { } while (0)
#define flush_cache_page(vma, vmaddr, pfn) do { } while (0)
#define flush_dcache_page(page) do { } while (0)
-#define flush_dcache_mmap_lock(mapping) do { } while (0)
-#define flush_dcache_mmap_unlock(mapping) do { } while (0)
void flush_icache_range(unsigned long start, unsigned long end);
#define flush_icache_page(vma,pg) do { } while (0)
#define flush_icache_user_range(vma,pg,adr,len) do { } while (0)