diff options
Diffstat (limited to 'arch/sh/include/asm/page.h')
-rw-r--r-- | arch/sh/include/asm/page.h | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/arch/sh/include/asm/page.h b/arch/sh/include/asm/page.h index 847eeabb9083..a316eeb50b39 100644 --- a/arch/sh/include/asm/page.h +++ b/arch/sh/include/asm/page.h | |||
@@ -68,18 +68,13 @@ extern void clear_user_page(void *to, unsigned long address, struct page *page); | |||
68 | extern void copy_user_page(void *to, void *from, unsigned long address, | 68 | extern void copy_user_page(void *to, void *from, unsigned long address, |
69 | struct page *page); | 69 | struct page *page); |
70 | 70 | ||
71 | #elif defined(CONFIG_MMU) | 71 | #else |
72 | extern void copy_user_highpage(struct page *to, struct page *from, | 72 | extern void copy_user_highpage(struct page *to, struct page *from, |
73 | unsigned long vaddr, struct vm_area_struct *vma); | 73 | unsigned long vaddr, struct vm_area_struct *vma); |
74 | #define __HAVE_ARCH_COPY_USER_HIGHPAGE | 74 | #define __HAVE_ARCH_COPY_USER_HIGHPAGE |
75 | extern void clear_user_highpage(struct page *page, unsigned long vaddr); | 75 | extern void clear_user_highpage(struct page *page, unsigned long vaddr); |
76 | #define clear_user_highpage clear_user_highpage | 76 | #define clear_user_highpage clear_user_highpage |
77 | 77 | ||
78 | #else | ||
79 | |||
80 | #define clear_user_page(page, vaddr, pg) clear_page(page) | ||
81 | #define copy_user_page(to, from, vaddr, pg) copy_page(to, from) | ||
82 | |||
83 | #endif | 78 | #endif |
84 | 79 | ||
85 | /* | 80 | /* |