Commit 9545b530 authored by Linus Torvalds's avatar Linus Torvalds

Force 64-bit extend for x86 __put_user_u64(), since nothing in the

inline asm will do it for us.
parent 6b57bcef
......@@ -189,7 +189,7 @@ do { \
case 1: __put_user_asm(x,ptr,retval,"b","b","iq"); break; \
case 2: __put_user_asm(x,ptr,retval,"w","w","ir"); break; \
case 4: __put_user_asm(x,ptr,retval,"l","","ir"); break; \
case 8: __put_user_u64(x,ptr,retval); break; \
case 8: __put_user_u64((__typeof__(*ptr))(x),ptr,retval); break; \
default: __put_user_bad(); \
} \
} while (0)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment