diff options
author | Yoshinori Sato <ysato@users.sourceforge.jp> | 2006-09-27 04:21:02 -0400 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2006-09-27 04:21:02 -0400 |
commit | e96636ccfa373a00a0ee0558e1971baa7856d8b5 (patch) | |
tree | c4f98b1c92f30f17c8c0d36419977789fe537aab /include/asm-sh/page.h | |
parent | e7f93a355c7e32c26eab8910cf53b7506bb046c5 (diff) |
sh: Various nommu fixes.
This fixes up some of the various outstanding nommu bugs on
SH.
Signed-off-by: Yoshinori Sato <ysato@users.sourceforge.jp>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
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)) |