virtio: introduce virtio_is_little_endian() helper
authorGreg Kurz <gkurz@linux.vnet.ibm.com>
Fri, 24 Apr 2015 12:24:27 +0000 (14:24 +0200)
committerMichael S. Tsirkin <mst@redhat.com>
Mon, 1 Jun 2015 13:48:49 +0000 (15:48 +0200)
commitcf561f0d2eb74574ad9985a2feab134267a9d298
treec497f2668d717405d816d481c8c511acb6bceb11
parent8a7b19d8b542b87bccc3eaaf81dcc90a5ca48aea
virtio: introduce virtio_is_little_endian() helper

Signed-off-by: Greg Kurz <gkurz@linux.vnet.ibm.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Acked-by: Cornelia Huck <cornelia.huck@de.ibm.com>
Reviewed-by: David Gibson <david@gibson.dropbear.id.au>
include/linux/virtio_config.h