diff options
author | Paul Mundt <lethal@linux-sh.org> | 2007-11-20 10:51:28 +0300 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2008-01-28 07:18:50 +0300 |
commit | 379a95d1d2c3e3682e380084c40b6fc01e38fa1f (patch) | |
tree | 663a232eaf663abe8e219c475dada42fd81fad4d /include | |
parent | bcb28e42be8c1cce6cc523c1b656980011464016 (diff) | |
download | linux-379a95d1d2c3e3682e380084c40b6fc01e38fa1f.tar.xz |
sh: Tidy up various clear_page()/copy_page() definitions.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/asm-sh/page.h | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/include/asm-sh/page.h b/include/asm-sh/page.h index 93a89841227f..e21b0d12e139 100644 --- a/include/asm-sh/page.h +++ b/include/asm-sh/page.h @@ -55,20 +55,12 @@ #ifndef __ASSEMBLY__ -extern void (*clear_page)(void *to); -extern void (*copy_page)(void *to, void *from); - extern unsigned long shm_align_mask; extern unsigned long max_low_pfn, min_low_pfn; extern unsigned long memory_start, memory_end; -#ifdef CONFIG_MMU -extern void clear_page_slow(void *to); -extern void copy_page_slow(void *to, void *from); -#else -extern void clear_page_nommu(void *to); -extern void copy_page_nommu(void *to, void *from); -#endif +extern void clear_page(void *to); +extern void copy_page(void *to, void *from); #if !defined(CONFIG_CACHE_OFF) && defined(CONFIG_MMU) && \ (defined(CONFIG_CPU_SH4) || defined(CONFIG_SH7705_CACHE_32KB)) |