summaryrefslogtreecommitdiffstats
path: root/include/linux/hyperv.h
diff options
context:
space:
mode:
authorJake Oshins2015-12-15 01:01:40 +0100
committerGreg Kroah-Hartman2015-12-15 04:12:21 +0100
commita108393dbf764efb2405f21ca759806c65b8bc16 (patch)
treecf4bed9bb92b19eb5347695bec98f4de499a6312 /include/linux/hyperv.h
parentdrivers:hv: Export a function that maps Linux CPU num onto Hyper-V proc num (diff)
downloadkernel-qcow2-linux-a108393dbf764efb2405f21ca759806c65b8bc16.tar.gz
kernel-qcow2-linux-a108393dbf764efb2405f21ca759806c65b8bc16.tar.xz
kernel-qcow2-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.h1
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