summaryrefslogtreecommitdiffstats
path: root/drivers/hv/channel.c
diff options
context:
space:
mode:
authorVitaly Kuznetsov <vkuznets@redhat.com>2015-12-15 04:01:59 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-12-15 04:27:30 +0100
commitb5f53dde8d8e84a6ee200dbd0bd90a400a8fe1a1 (patch)
treea687c90208f4a31eaa6f4be4a29264742864f889 /drivers/hv/channel.c
parentDrivers: hv: ring_buffer: remove stray smp_read_barrier_depends() (diff)
downloadlinux-b5f53dde8d8e84a6ee200dbd0bd90a400a8fe1a1.tar.xz
linux-b5f53dde8d8e84a6ee200dbd0bd90a400a8fe1a1.zip
Drivers: hv: ring_buffer: remove code duplication from hv_ringbuffer_peek/read()
hv_ringbuffer_peek() does the same as hv_ringbuffer_read() without advancing the read index. The only functional change this patch brings is moving hv_need_to_signal_on_read() call under the ring_lock but this function is just a couple of comparisons. Signed-off-by: Vitaly Kuznetsov <vkuznets@redhat.com> Signed-off-by: K. Y. Srinivasan <kys@microsoft.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/hv/channel.c')
0 files changed, 0 insertions, 0 deletions