microblaze/uaccess: fix sparse errors
authorMichael S. Tsirkin <mst@redhat.com>
Tue, 6 Jan 2015 15:44:02 +0000 (17:44 +0200)
committerMichal Simek <michal.simek@xilinx.com>
Thu, 8 Jan 2015 07:37:24 +0000 (08:37 +0100)
commit0774bf6a8b49ccd35fad58a1eed0d2382f34912e
treeccc46261a7e6e92c0ebb8e428805804c2b320c47
parent231856ae7ccb5ee49b2f722e1d8ba7a45df1a978
microblaze/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: Michal Simek <michal.simek@xilinx.com>
arch/microblaze/include/asm/uaccess.h