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

Next file: linux-2.4.19/include/asm-ia64/pci.h
Previous file: linux-2.4.19/include/asm-ia64/offsets.h
Back to the patch index
Back to the overall index

diff -urN linux-2.4.18/include/asm-ia64/page.h linux-2.4.19/include/asm-ia64/page.h
@@ -148,6 +148,11 @@
 # define __pgprot(x)	(x)
 #endif /* !STRICT_MM_TYPECHECKS */
 
-#define PAGE_OFFSET		0xe000000000000000
+#define PAGE_OFFSET			0xe000000000000000
+
+#define VM_DATA_DEFAULT_FLAGS		(VM_READ | VM_WRITE |					\
+					 VM_MAYREAD | VM_MAYWRITE | VM_MAYEXEC |		\
+					 (((current->thread.flags & IA64_THREAD_XSTACK) != 0)	\
+					  ? VM_EXEC : 0))
 
 #endif /* _ASM_IA64_PAGE_H */

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