diff options
author | Jason Wang <jasowang@redhat.com> | 2016-03-04 06:24:51 -0500 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2016-03-11 02:18:45 +0200 |
commit | 526d3e7ff515582eaf7cf5d9da2a11bf681204e6 (patch) | |
tree | 0f8cb97f616c8b09c1c8dd90530006581b26a3da /drivers/ps3 | |
parent | fd0e21c31e1e6383af978239d07ced6e4e5d82c3 (diff) | |
download | op-kernel-dev-526d3e7ff515582eaf7cf5d9da2a11bf681204e6.zip op-kernel-dev-526d3e7ff515582eaf7cf5d9da2a11bf681204e6.tar.gz |
vhost: introduce vhost_has_work()
This path introduces a helper which can give a hint for whether or not
there's a work queued in the work list. This could be used for busy
polling code to exit the busy loop.
Signed-off-by: Jason Wang <jasowang@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'drivers/ps3')
0 files changed, 0 insertions, 0 deletions