aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sh/mm/cache-sh5.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/sh/mm/cache-sh5.c')
-rw-r--r--arch/sh/mm/cache-sh5.c15
1 files changed, 15 insertions, 0 deletions
diff --git a/arch/sh/mm/cache-sh5.c b/arch/sh/mm/cache-sh5.c
index 698113fce814..28f3c8fb1b99 100644
--- a/arch/sh/mm/cache-sh5.c
+++ b/arch/sh/mm/cache-sh5.c
@@ -29,6 +29,21 @@ void __init p3_cache_init(void)
29 dtlb_cache_slot = sh64_get_wired_dtlb_entry(); 29 dtlb_cache_slot = sh64_get_wired_dtlb_entry();
30} 30}
31 31
32void __init kmap_coherent_init(void)
33{
34 /* XXX ... */
35}
36
37void *kmap_coherent(struct page *page, unsigned long addr)
38{
39 /* XXX ... */
40 return NULL;
41}
42
43void kunmap_coherent(void)
44{
45}
46
32#ifdef CONFIG_DCACHE_DISABLED 47#ifdef CONFIG_DCACHE_DISABLED
33#define sh64_dcache_purge_all() do { } while (0) 48#define sh64_dcache_purge_all() do { } while (0)
34#define sh64_dcache_purge_coloured_phy_page(paddr, eaddr) do { } while (0) 49#define sh64_dcache_purge_coloured_phy_page(paddr, eaddr) do { } while (0)