xtensa/uaccess: fix sparse errors
authorMichael S. Tsirkin <mst@redhat.com>
Sun, 14 Dec 2014 16:53:10 +0000 (18:53 +0200)
committerChris Zankel <chris@zankel.net>
Tue, 16 Dec 2014 04:14:26 +0000 (20:14 -0800)
commit4255a8e199a00faa29b84c47ad57427dd1412581
tree1f7599ca56b6591431cb1654f3ec45b2c2db8730
parent2cb54e8493615484fd3e29f1f51d96201706b419
xtensa/uaccess: fix sparse errors

virtio wants to read bitwise types from userspace using get_user.  At the
moment this triggers sparse errors, since the value is passed through an
integer.

Fix that up using __force.

Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Chris Zankel <chris@zankel.net>
arch/xtensa/include/asm/uaccess.h