diff options
author | Jason Wang <jasowang@redhat.com> | 2013-09-02 12:40:58 +0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-09-04 06:46:57 +0400 |
commit | c49e4e573be86acd36c747511ea5dc76be122206 (patch) | |
tree | 682e11f8da283fb6ddc3ab5bd8bbae3486726afd /drivers/parisc/iommu-helpers.h | |
parent | c92112aed3f0b14fdd2dbd9f192cce1af22c0e1c (diff) | |
download | linux-c49e4e573be86acd36c747511ea5dc76be122206.tar.xz |
vhost: switch to use vhost_add_used_n()
Let vhost_add_used() to use vhost_add_used_n() to reduce the code
duplication. To avoid the overhead brought by __copy_to_user(). We will use
put_user() when one used need to be added.
Signed-off-by: Jason Wang <jasowang@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/parisc/iommu-helpers.h')
0 files changed, 0 insertions, 0 deletions