summaryrefslogtreecommitdiffstats
path: root/usr
diff options
context:
space:
mode:
authorMichael S. Tsirkin <mst@redhat.com>2015-11-29 12:34:44 +0100
committerMichael S. Tsirkin <mst@redhat.com>2015-12-07 16:28:10 +0100
commit5fba13b5cf5856e725de35665c37b647323d3b9a (patch)
treeddbe8a6688700a93fd7a53d7b16444a40e82729d /usr
parenttools/virtio: fix byteswap logic (diff)
downloadlinux-5fba13b5cf5856e725de35665c37b647323d3b9a.tar.xz
linux-5fba13b5cf5856e725de35665c37b647323d3b9a.zip
vhost: replace % with & on data path
We know vring num is a power of 2, so use & to mask the high bits. Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'usr')
0 files changed, 0 insertions, 0 deletions