diff options
author | Paul Mundt <lethal@linux-sh.org> | 2007-11-05 02:20:42 -0500 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2007-11-06 21:14:12 -0500 |
commit | af39c16bd843ee8bde495c8ccb95a5ca209f3051 (patch) | |
tree | b318c83125f4fe9c0121a79418e858e165a58402 /include/asm-sh | |
parent | ba1789efea81acc6633f427bfeb871fd608965b5 (diff) |
sh: Kill off __{copy,clear}_user_page().
Now that copy_to_user_page()/copy_from_user_page() are wired up, we
can drop the old __copy_xxx() implementations. Now that the page
colouring scheme has changed via kmap_coherent(), we can avoid the
flush in these specific helpers.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'include/asm-sh')
-rw-r--r-- | include/asm-sh/page.h | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/include/asm-sh/page.h b/include/asm-sh/page.h index 5e69de1eacdf..d00a8fde7c7f 100644 --- a/include/asm-sh/page.h +++ b/include/asm-sh/page.h | |||
@@ -74,10 +74,7 @@ extern void copy_page_nommu(void *to, void *from); | |||
74 | (defined(CONFIG_CPU_SH4) || defined(CONFIG_SH7705_CACHE_32KB)) | 74 | (defined(CONFIG_CPU_SH4) || defined(CONFIG_SH7705_CACHE_32KB)) |
75 | struct page; | 75 | struct page; |
76 | struct vm_area_struct; | 76 | struct vm_area_struct; |
77 | extern void clear_user_page(void *to, unsigned long address, struct page *pg); | 77 | extern void clear_user_page(void *to, unsigned long address, struct page *page); |
78 | extern void copy_user_page(void *to, void *from, unsigned long address, struct page *pg); | ||
79 | extern void __clear_user_page(void *to, void *orig_to); | ||
80 | extern void __copy_user_page(void *to, void *from, void *orig_to); | ||
81 | #ifdef CONFIG_CPU_SH4 | 78 | #ifdef CONFIG_CPU_SH4 |
82 | extern void copy_user_highpage(struct page *to, struct page *from, | 79 | extern void copy_user_highpage(struct page *to, struct page *from, |
83 | unsigned long vaddr, struct vm_area_struct *vma); | 80 | unsigned long vaddr, struct vm_area_struct *vma); |