drivers:hv: Export the API to invoke a hypercall on Hyper-V
authorJake Oshins <jakeo@microsoft.com>
Tue, 15 Dec 2015 00:01:40 +0000 (16:01 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 15 Dec 2015 03:12:21 +0000 (19:12 -0800)
commita108393dbf764efb2405f21ca759806c65b8bc16
treecf4bed9bb92b19eb5347695bec98f4de499a6312
parent619848bd074343ff2bdeeafca0be39748f6da372
drivers:hv: Export the API to invoke a hypercall on Hyper-V

This patch exposes the function that hv_vmbus.ko uses to make hypercalls.  This
is necessary for retargeting an interrupt when it is given a new affinity.

Since we are exporting this API, rename the API as it will be visible outside
the hv.c file.

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