diff options
Diffstat (limited to 'include/asm-x86_64/uaccess.h')
-rw-r--r-- | include/asm-x86_64/uaccess.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/asm-x86_64/uaccess.h b/include/asm-x86_64/uaccess.h index 9df30b939c4e..f4ce8768ad44 100644 --- a/include/asm-x86_64/uaccess.h +++ b/include/asm-x86_64/uaccess.h | |||
@@ -100,7 +100,7 @@ struct exception_table_entry | |||
100 | case 8: __get_user_x(8,__ret_gu,__val_gu,ptr); break; \ | 100 | case 8: __get_user_x(8,__ret_gu,__val_gu,ptr); break; \ |
101 | default: __get_user_bad(); break; \ | 101 | default: __get_user_bad(); break; \ |
102 | } \ | 102 | } \ |
103 | (x) = (typeof(*(ptr)))__val_gu; \ | 103 | (x) = (__force typeof(*(ptr)))__val_gu; \ |
104 | __ret_gu; \ | 104 | __ret_gu; \ |
105 | }) | 105 | }) |
106 | 106 | ||
@@ -192,7 +192,7 @@ struct __large_struct { unsigned long buf[100]; }; | |||
192 | int __gu_err; \ | 192 | int __gu_err; \ |
193 | unsigned long __gu_val; \ | 193 | unsigned long __gu_val; \ |
194 | __get_user_size(__gu_val,(ptr),(size),__gu_err); \ | 194 | __get_user_size(__gu_val,(ptr),(size),__gu_err); \ |
195 | (x) = (typeof(*(ptr)))__gu_val; \ | 195 | (x) = (__force typeof(*(ptr)))__gu_val; \ |
196 | __gu_err; \ | 196 | __gu_err; \ |
197 | }) | 197 | }) |
198 | 198 | ||