patch-2.4.19 linux-2.4.19/include/asm-sparc/page.h

Next file: linux-2.4.19/include/asm-sparc/pgalloc.h
Previous file: linux-2.4.19/include/asm-sparc/keyboard.h
Back to the patch index
Back to the overall index

diff -urN linux-2.4.18/include/asm-sparc/page.h linux-2.4.19/include/asm-sparc/page.h
@@ -179,6 +179,9 @@
 #define virt_to_page(kaddr)	(mem_map + (__pa(kaddr) >> PAGE_SHIFT))
 #define VALID_PAGE(page)	((page - mem_map) < max_mapnr)
 
+#define VM_DATA_DEFAULT_FLAGS	(VM_READ | VM_WRITE | VM_EXEC | \
+				 VM_MAYREAD | VM_MAYWRITE | VM_MAYEXEC)
+
 #endif /* __KERNEL__ */
 
 #endif /* _SPARC_PAGE_H */

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)