patch-2.4.19 linux-2.4.19/include/asm-ppc/page.h
Next file: linux-2.4.19/include/asm-ppc/pgtable.h
Previous file: linux-2.4.19/include/asm-ppc/machdep.h
Back to the patch index
Back to the overall index
- Lines: 21
- Date:
Fri Aug 2 17:39:45 2002
- Orig file:
linux-2.4.18/include/asm-ppc/page.h
- Orig date:
Tue Aug 28 06:58:33 2001
diff -urN linux-2.4.18/include/asm-ppc/page.h linux-2.4.19/include/asm-ppc/page.h
@@ -83,8 +83,8 @@
extern void clear_page(void *page);
extern void copy_page(void *to, void *from);
-#define clear_user_page(page, vaddr) clear_page(page)
-#define copy_user_page(to, from, vaddr) copy_page(to, from)
+extern void clear_user_page(void *page, unsigned long vaddr);
+extern void copy_user_page(void *to, void *from, unsigned long vaddr);
/* map phys->virtual and virtual->phys for RAM pages */
static inline unsigned long ___pa(unsigned long v)
@@ -137,5 +137,9 @@
}
#endif /* __ASSEMBLY__ */
+
+#define VM_DATA_DEFAULT_FLAGS (VM_READ | VM_WRITE | VM_EXEC | \
+ VM_MAYREAD | VM_MAYWRITE | VM_MAYEXEC)
+
#endif /* __KERNEL__ */
#endif /* _PPC_PAGE_H */
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)