summaryrefslogtreecommitdiff
path: root/sound
diff options
context:
space:
mode:
authorMichael S. Tsirkin <mst@redhat.com>2014-12-01 15:39:39 (GMT)
committerMichael S. Tsirkin <mst@redhat.com>2014-12-09 10:05:29 (GMT)
commit64f7f0510c7e6f61eab080e3f51d314849f47ac1 (patch)
treea439f647cb9e2a8737deacdd80752b743e432d7e /sound
parentbf995734969c3ca9de9e00138151201eab4cbb01 (diff)
downloadlinux-64f7f0510c7e6f61eab080e3f51d314849f47ac1.tar.xz
vhost: switch to __get/__put_user exclusively
Most places in vhost can use __get/__put_user rather than get/put_user since addresses are pre-validated. This should be good for performance, but this also will help make code sparse-clean: get/put_user macros don't play well with __virtioXX bitwise tags. Switch to get/put_user to __ variants everywhere in vhost. There's one exception - for consistency switch that as well, and add an explicit access_ok check. Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'sound')
0 files changed, 0 insertions, 0 deletions