diff options
Diffstat (limited to 'include/asm-x86/uaccess_64.h')
-rw-r--r-- | include/asm-x86/uaccess_64.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asm-x86/uaccess_64.h b/include/asm-x86/uaccess_64.h index 0077dbe9359e..3a81775136c8 100644 --- a/include/asm-x86/uaccess_64.h +++ b/include/asm-x86/uaccess_64.h | |||
@@ -22,7 +22,7 @@ | |||
22 | 22 | ||
23 | #define MAKE_MM_SEG(s) ((mm_segment_t) { (s) }) | 23 | #define MAKE_MM_SEG(s) ((mm_segment_t) { (s) }) |
24 | 24 | ||
25 | #define KERNEL_DS MAKE_MM_SEG(0xFFFFFFFFFFFFFFFFUL) | 25 | #define KERNEL_DS MAKE_MM_SEG(-1UL) |
26 | #define USER_DS MAKE_MM_SEG(PAGE_OFFSET) | 26 | #define USER_DS MAKE_MM_SEG(PAGE_OFFSET) |
27 | 27 | ||
28 | #define get_ds() (KERNEL_DS) | 28 | #define get_ds() (KERNEL_DS) |