]> git.baikalelectronics.ru Git - kernel.git/commit
Drivers: hv: ring_buffer: remove stray smp_read_barrier_depends()
authorVitaly Kuznetsov <vkuznets@redhat.com>
Tue, 15 Dec 2015 03:01:58 +0000 (19:01 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 15 Dec 2015 03:27:30 +0000 (19:27 -0800)
commit5c1875ff6dccc1e5336cf7c167b3c63c2366bfb0
treec1ecd2367a64b575dcb5eba1630219dc847e1ea8
parentc3ae0b13f0f61de63233f0b083a777d25c8fbb21
Drivers: hv: ring_buffer: remove stray smp_read_barrier_depends()

smp_read_barrier_depends() does nothing on almost all arcitectures
including x86 and having it in the beginning of
hv_get_ringbuffer_availbytes() does not provide any guarantees anyway.

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>
include/linux/hyperv.h