diff options
| author | Paul Mackerras <paulus@samba.org> | 2002-06-26 08:32:04 -0400 |
|---|---|---|
| committer | Paul Mackerras <paulus@samba.org> | 2002-06-26 08:32:04 -0400 |
| commit | 83b975325bfe6be530a20add8aa73306b56745bf (patch) | |
| tree | 4c071dbfc3f12c9ab459550126607db256a460e9 /include | |
| parent | bd028ecb2f3e854c54f147d335658a4106912354 (diff) | |
PPC32: Add struct page * argument to copy/clear_user_page.
Diffstat (limited to 'include')
| -rw-r--r-- | include/asm-ppc/page.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/include/asm-ppc/page.h b/include/asm-ppc/page.h index 3c24d005f8e4..4a2d88d43724 100644 --- a/include/asm-ppc/page.h +++ b/include/asm-ppc/page.h @@ -85,10 +85,12 @@ typedef unsigned long pgprot_t; /* to align the pointer to the (next) page boundary */ #define PAGE_ALIGN(addr) (((addr)+PAGE_SIZE-1)&PAGE_MASK) +struct page; extern void clear_page(void *page); extern void copy_page(void *to, void *from); -extern void clear_user_page(void *page, unsigned long vaddr); -extern void copy_user_page(void *to, void *from, unsigned long vaddr); +extern void clear_user_page(void *page, unsigned long vaddr, struct page *pg); +extern void copy_user_page(void *to, void *from, unsigned long vaddr, + struct page *pg); #ifndef CONFIG_APUS #define PPC_MEMSTART 0 |
