diff options
Diffstat (limited to 'include/asm-sh')
-rw-r--r-- | include/asm-sh/uaccess_32.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/asm-sh/uaccess_32.h b/include/asm-sh/uaccess_32.h index ae0d24f6653f..892fd6dea9db 100644 --- a/include/asm-sh/uaccess_32.h +++ b/include/asm-sh/uaccess_32.h | |||
@@ -76,7 +76,8 @@ do { \ | |||
76 | __put_user_asm(x, ptr, retval, "w"); \ | 76 | __put_user_asm(x, ptr, retval, "w"); \ |
77 | break; \ | 77 | break; \ |
78 | case 4: \ | 78 | case 4: \ |
79 | __put_user_asm(x, ptr, retval, "l"); \ | 79 | __put_user_asm((u32)x, ptr, \ |
80 | retval, "l"); \ | ||
80 | break; \ | 81 | break; \ |
81 | case 8: \ | 82 | case 8: \ |
82 | __put_user_u64(x, ptr, retval); \ | 83 | __put_user_u64(x, ptr, retval); \ |