diff options
| -rw-r--r-- | arch/x86/include/asm/uaccess.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/include/asm/uaccess.h b/arch/x86/include/asm/uaccess.h index 5ee26875baea..f715fee40821 100644 --- a/arch/x86/include/asm/uaccess.h +++ b/arch/x86/include/asm/uaccess.h | |||
| @@ -162,7 +162,7 @@ __typeof__(__builtin_choose_expr(sizeof(x) > sizeof(0UL), 0ULL, 0UL)) | |||
| 162 | #define get_user(x, ptr) \ | 162 | #define get_user(x, ptr) \ |
| 163 | ({ \ | 163 | ({ \ |
| 164 | int __ret_gu; \ | 164 | int __ret_gu; \ |
| 165 | register __inttype(*(ptr)) __val_gu asm("%edx"); \ | 165 | register __inttype(*(ptr)) __val_gu asm("%"_ASM_DX); \ |
| 166 | __chk_user_ptr(ptr); \ | 166 | __chk_user_ptr(ptr); \ |
| 167 | might_fault(); \ | 167 | might_fault(); \ |
| 168 | asm volatile("call __get_user_%P3" \ | 168 | asm volatile("call __get_user_%P3" \ |
