]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/blobdiff - arch/x86/include/asm/mshyperv.h
Drivers: hv: vmbus: Move the definition of hv_x64_msr_hypercall_contents
[mirror_ubuntu-zesty-kernel.git] / arch / x86 / include / asm / mshyperv.h
index aaf59b7da98a2c7898390512c77601cd38b79eb1..188ddfdde2b99a099f010bb232d439f7d7881884 100644 (file)
@@ -13,6 +13,18 @@ struct ms_hyperv_info {
 
 extern struct ms_hyperv_info ms_hyperv;
 
+/*
+ * Declare the MSR used to setup pages used to communicate with the hypervisor.
+ */
+union hv_x64_msr_hypercall_contents {
+       u64 as_uint64;
+       struct {
+               u64 enable:1;
+               u64 reserved:11;
+               u64 guest_physical_address:52;
+       };
+};
+
 void hyperv_callback_vector(void);
 #ifdef CONFIG_TRACING
 #define trace_hyperv_callback_vector hyperv_callback_vector