diff options
author | Michael S. Tsirkin <mst@redhat.com> | 2015-11-29 13:03:23 +0200 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2015-12-07 17:28:10 +0200 |
commit | 55564a02b2ad4dab0c29fd9391d5118592c7fdc8 (patch) | |
tree | cdcc34872c297785cc99d12e40ce79bbfd47a2ad /drivers/vhost/vhost.c | |
parent | 40c172e5d99220c8a99dbc4468e792c74494a596 (diff) | |
download | lwn-55564a02b2ad4dab0c29fd9391d5118592c7fdc8.tar.gz lwn-55564a02b2ad4dab0c29fd9391d5118592c7fdc8.zip |
tools/virtio: fix byteswap logic
commit cf561f0d2eb74574ad9985a2feab134267a9d298 ("virtio: introduce
virtio_is_little_endian() helper") changed byteswap logic to
skip feature bit checks for LE platforms, but didn't
update tools/virtio, so vring_bench started failing.
Update the copy under tools/virtio/ (TODO: find a way to avoid this code
duplication).
Cc: Greg Kurz <gkurz@linux.vnet.ibm.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'drivers/vhost/vhost.c')
0 files changed, 0 insertions, 0 deletions