diff options
Diffstat (limited to 'include/asm-sh/page.h')
-rw-r--r-- | include/asm-sh/page.h | 5 |
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 @@ | |||
38 | extern void (*clear_page)(void *to); | 38 | extern void (*clear_page)(void *to); |
39 | extern void (*copy_page)(void *to, void *from); | 39 | extern void (*copy_page)(void *to, void *from); |
40 | 40 | ||
41 | #ifdef CONFIG_MMU | ||
41 | extern void clear_page_slow(void *to); | 42 | extern void clear_page_slow(void *to); |
42 | extern void copy_page_slow(void *to, void *from); | 43 | extern void copy_page_slow(void *to, void *from); |
44 | #else | ||
45 | extern void clear_page_nommu(void *to); | ||
46 | extern 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)) |