aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-sh/page.h
diff options
context:
space:
mode:
authorYoshinori Sato <ysato@users.sourceforge.jp>2006-09-27 04:21:02 -0400
committerPaul Mundt <lethal@linux-sh.org>2006-09-27 04:21:02 -0400
commite96636ccfa373a00a0ee0558e1971baa7856d8b5 (patch)
treec4f98b1c92f30f17c8c0d36419977789fe537aab /include/asm-sh/page.h
parente7f93a355c7e32c26eab8910cf53b7506bb046c5 (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.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))