diff options
author | Jake Oshins <jakeo@microsoft.com> | 2015-12-14 16:01:40 -0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-12-14 19:12:21 -0800 |
commit | a108393dbf764efb2405f21ca759806c65b8bc16 (patch) | |
tree | cf4bed9bb92b19eb5347695bec98f4de499a6312 /include/linux/hyperv.h | |
parent | 619848bd074343ff2bdeeafca0be39748f6da372 (diff) | |
download | linux-a108393dbf764efb2405f21ca759806c65b8bc16.tar.gz linux-a108393dbf764efb2405f21ca759806c65b8bc16.tar.bz2 linux-a108393dbf764efb2405f21ca759806c65b8bc16.zip |
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>
Diffstat (limited to 'include/linux/hyperv.h')
-rw-r--r-- | include/linux/hyperv.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/hyperv.h b/include/linux/hyperv.h index fddb3e0e8feb..24d0b656e6e7 100644 --- a/include/linux/hyperv.h +++ b/include/linux/hyperv.h @@ -984,6 +984,7 @@ int vmbus_allocate_mmio(struct resource **new, struct hv_device *device_obj, bool fb_overlap_ok); int vmbus_cpu_number_to_vp_number(int cpu_number); +u64 hv_do_hypercall(u64 control, void *input, void *output); /** * VMBUS_DEVICE - macro used to describe a specific hyperv vmbus device |