diff options
author | Jason Wang <jasowang@redhat.com> | 2013-09-02 10:40:58 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-09-04 04:46:57 +0200 |
commit | c49e4e573be86acd36c747511ea5dc76be122206 (patch) | |
tree | 682e11f8da283fb6ddc3ab5bd8bbae3486726afd /lib/cordic.c | |
parent | vhost_net: use vhost_add_used_and_signal_n() in vhost_zerocopy_signal_used() (diff) | |
download | linux-c49e4e573be86acd36c747511ea5dc76be122206.tar.xz 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 'lib/cordic.c')
0 files changed, 0 insertions, 0 deletions