summaryrefslogtreecommitdiff
path: root/lib/hweight.c
diff options
context:
space:
mode:
authorNicholas Bellinger <nab@linux-iscsi.org>2015-01-29 00:10:51 +0300
committerNicholas Bellinger <nab@linux-iscsi.org>2015-02-04 21:55:36 +0300
commitb4078b5face3c1e79ef6e2dd254af04a470ed2bc (patch)
tree55692e7ced0d180fd202c2c03f740a68d69d68f3 /lib/hweight.c
parentde1419e42088e99f8f839710c42aec759e45de77 (diff)
downloadlinux-b4078b5face3c1e79ef6e2dd254af04a470ed2bc.tar.xz
vhost/scsi: Change vhost_scsi_map_to_sgl to accept iov ptr + len
This patch changes vhost_scsi_map_to_sgl() parameters to accept virtio iovec ptr + len when determing pages_nr. This is currently done with iov_num_pages() -> PAGE_ALIGN, so allow the same parameters as well. Cc: Michael S. Tsirkin <mst@redhat.com> Cc: Paolo Bonzini <pbonzini@redhat.com> Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
Diffstat (limited to 'lib/hweight.c')
0 files changed, 0 insertions, 0 deletions