patch-2.4.19 linux-2.4.19/include/asm-sparc64/page.h
Next file: linux-2.4.19/include/asm-sparc64/pgalloc.h
Previous file: linux-2.4.19/include/asm-sparc64/keyboard.h
Back to the patch index
Back to the overall index
- Lines: 20
- Date:
Fri Aug 2 17:39:45 2002
- Orig file:
linux-2.4.18/include/asm-sparc64/page.h
- Orig date:
Fri Dec 21 09:42:03 2001
diff -urN linux-2.4.18/include/asm-sparc64/page.h linux-2.4.19/include/asm-sparc64/page.h
@@ -30,6 +30,9 @@
#define PAGE_BUG(page) BUG()
+/* Sparc64 is slow at multiplication, we prefer to use some extra space. */
+#define WANT_PAGE_VIRTUAL 1
+
extern void _clear_page(void *page);
#define clear_page(X) _clear_page((void *)(X))
extern void clear_user_page(void *page, unsigned long vaddr);
@@ -153,6 +156,9 @@
#endif /* !(__ASSEMBLY__) */
+#define VM_DATA_DEFAULT_FLAGS (VM_READ | VM_WRITE | VM_EXEC | \
+ VM_MAYREAD | VM_MAYWRITE | VM_MAYEXEC)
+
#endif /* !(__KERNEL__) */
#endif /* !(_SPARC64_PAGE_H) */
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)