diff options
author | Jason Wang <jasowang@redhat.com> | 2013-09-02 16:40:58 +0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-09-03 22:46:57 -0400 |
commit | c49e4e573be86acd36c747511ea5dc76be122206 (patch) | |
tree | 682e11f8da283fb6ddc3ab5bd8bbae3486726afd /arch | |
parent | c92112aed3f0b14fdd2dbd9f192cce1af22c0e1c (diff) | |
download | blackbird-op-linux-c49e4e573be86acd36c747511ea5dc76be122206.tar.gz blackbird-op-linux-c49e4e573be86acd36c747511ea5dc76be122206.zip |
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 'arch')
0 files changed, 0 insertions, 0 deletions