amd64: fix get_user() on bitwise
commitfdd33961e983dd5b1983c54ef39d243c88a4bffc
authorAl Viro <viro@ftp.linux.org.uk>
Thu, 26 Jul 2007 16:35:39 +0000 (26 17:35 +0100)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Thu, 26 Jul 2007 18:11:57 +0000 (26 11:11 -0700)
tree92f035fb0b89c1c6bbd511b5caa336b0a0d297a7
parentc47ffe3d3d841986108a8316f6e01792cb45d0d2
amd64: fix get_user() on bitwise

We really need force-cast when converting to final result type;
unsigned long can be silently converted to integer types and
to pointers, but not to bitwise.

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
include/asm-x86_64/uaccess.h