]> git.proxmox.com Git - mirror_ubuntu-artful-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)
committerTim Gardner <tim.gardner@canonical.com>
Mon, 29 Feb 2016 16:00:34 +0000 (09:00 -0700)
commitbcb30a27c8020b076754c0469aca8f44ea02cdde
tree8770733d83003dd4329542e6651761890caaf2c3
parentcb4cfed8b5e33f552062676b342a67f2ecad4d98
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>
(cherry picked from commit 45870a441361d1c05a5f767c4ece2f6e30e0da9c)
Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
include/linux/hyperv.h