aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-sh/page.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-sh/page.h')
-rw-r--r--include/asm-sh/page.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/asm-sh/page.h b/include/asm-sh/page.h
index 1b3cfd165a66..e9135532d00c 100644
--- a/include/asm-sh/page.h
+++ b/include/asm-sh/page.h
@@ -38,8 +38,13 @@
38extern void (*clear_page)(void *to); 38extern void (*clear_page)(void *to);
39extern void (*copy_page)(void *to, void *from); 39extern void (*copy_page)(void *to, void *from);
40 40
41#ifdef CONFIG_MMU
41extern void clear_page_slow(void *to); 42extern void clear_page_slow(void *to);
42extern void copy_page_slow(void *to, void *from); 43extern void copy_page_slow(void *to, void *from);
44#else
45extern void clear_page_nommu(void *to);
46extern void copy_page_nommu(void *to, void *from);
47#endif
43 48
44#if defined(CONFIG_MMU) && (defined(CONFIG_CPU_SH4) || \ 49#if defined(CONFIG_MMU) && (defined(CONFIG_CPU_SH4) || \
45 defined(CONFIG_SH7705_CACHE_32KB)) 50 defined(CONFIG_SH7705_CACHE_32KB))