summaryrefslogtreecommitdiffstats
path: root/arch/x86/include/asm/mshyperv.h
diff options
context:
space:
mode:
authorK. Y. Srinivasan2017-01-19 00:45:02 +0100
committerGreg Kroah-Hartman2017-01-19 11:42:07 +0100
commit8730046c1498e8fb8c9a124789893944e8ce8220 (patch)
tree0028573415d5e137e05a461338891eb6b21a4945 /arch/x86/include/asm/mshyperv.h
parentDrivers: hv: vmbus: Move the definition of generate_guest_id() (diff)
downloadkernel-qcow2-linux-8730046c1498e8fb8c9a124789893944e8ce8220.tar.gz
kernel-qcow2-linux-8730046c1498e8fb8c9a124789893944e8ce8220.tar.xz
kernel-qcow2-linux-8730046c1498e8fb8c9a124789893944e8ce8220.zip
Drivers: hv vmbus: Move Hypercall page setup out of common code
As part of the effort to separate out architecture specific code, move the hypercall page setup to an architecture specific file. Signed-off-by: K. Y. Srinivasan <kys@microsoft.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'arch/x86/include/asm/mshyperv.h')
-rw-r--r--arch/x86/include/asm/mshyperv.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/x86/include/asm/mshyperv.h b/arch/x86/include/asm/mshyperv.h
index 15a0c275c82e..e5f57e15a507 100644
--- a/arch/x86/include/asm/mshyperv.h
+++ b/arch/x86/include/asm/mshyperv.h
@@ -80,4 +80,9 @@ void hv_setup_kexec_handler(void (*handler)(void));
void hv_remove_kexec_handler(void);
void hv_setup_crash_handler(void (*handler)(struct pt_regs *regs));
void hv_remove_crash_handler(void);
+
+#if IS_ENABLED(CONFIG_HYPERV)
+void hyperv_init(void);
+extern void *hv_hypercall_pg;
+#endif
#endif