tile: fix put_user sparse errors
authorChris Metcalf <cmetcalf@ezchip.com>
Tue, 13 Jan 2015 19:39:05 +0000 (14:39 -0500)
committerChris Metcalf <cmetcalf@ezchip.com>
Tue, 13 Jan 2015 23:44:17 +0000 (18:44 -0500)
Use x86's __inttype macro instead of using the typeof(x-x) trick to
generate a suitable integer size type.  This avoids a sparse warning
when examining the x-x type with a bitwise type.

Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Chris Metcalf <cmetcalf@ezchip.com>
arch/tile/include/asm/uaccess.h

Simple merge