Drivers: hv: vmbus: Introduce functions for estimating room in the ring buffer
authorK. Y. Srinivasan <kys@microsoft.com>
Sun, 3 Apr 2016 00:59:46 +0000 (17:59 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 30 Apr 2016 21:00:19 +0000 (14:00 -0700)
commita6341f000024cdf1ec14dc26743a409a17378db5
treeb2929b9009b5e9dedd2e943c8ef4b7bd8113296e
parenta389fcfd2cb57793931a9fb98fed076aae50bb6c
Drivers: hv: vmbus: Introduce functions for estimating room in the ring buffer

Introduce separate functions for estimating how much can be read from
and written to the ring buffer.

Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/hv/ring_buffer.c
include/linux/hyperv.h