patch-2.1.90 linux/include/asm-i386/uaccess.h
Next file: linux/include/linux/coda.h
Previous file: linux/include/asm-i386/processor.h
Back to the patch index
Back to the overall index
- Lines: 17
- Date:
Tue Mar 17 21:42:24 1998
- Orig file:
v2.1.89/linux/include/asm-i386/uaccess.h
- Orig date:
Fri Feb 6 15:32:54 1998
diff -u --recursive --new-file v2.1.89/linux/include/asm-i386/uaccess.h linux/include/asm-i386/uaccess.h
@@ -5,6 +5,7 @@
* User space memory access functions
*/
#include <linux/sched.h>
+#include <asm/page.h>
#define VERIFY_READ 0
#define VERIFY_WRITE 1
@@ -21,7 +22,7 @@
#define KERNEL_DS MAKE_MM_SEG(0xFFFFFFFF)
-#define USER_DS MAKE_MM_SEG(0xC0000000)
+#define USER_DS MAKE_MM_SEG(PAGE_OFFSET)
#define get_ds() (KERNEL_DS)
#define get_fs() (current->addr_limit)
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov