diff options
Diffstat (limited to 'arch/x86/kernel/cpu/vmware.c')
-rw-r--r-- | arch/x86/kernel/cpu/vmware.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/arch/x86/kernel/cpu/vmware.c b/arch/x86/kernel/cpu/vmware.c index 40ed26852ebd..8e005329648b 100644 --- a/arch/x86/kernel/cpu/vmware.c +++ b/arch/x86/kernel/cpu/vmware.c | |||
@@ -205,10 +205,10 @@ static bool __init vmware_legacy_x2apic_available(void) | |||
205 | (eax & (1 << VMWARE_PORT_CMD_LEGACY_X2APIC)) != 0; | 205 | (eax & (1 << VMWARE_PORT_CMD_LEGACY_X2APIC)) != 0; |
206 | } | 206 | } |
207 | 207 | ||
208 | const __refconst struct hypervisor_x86 x86_hyper_vmware = { | 208 | const __initconst struct hypervisor_x86 x86_hyper_vmware = { |
209 | .name = "VMware", | 209 | .name = "VMware", |
210 | .detect = vmware_platform, | 210 | .detect = vmware_platform, |
211 | .init_platform = vmware_platform_setup, | 211 | .type = X86_HYPER_VMWARE, |
212 | .x2apic_available = vmware_legacy_x2apic_available, | 212 | .init.init_platform = vmware_platform_setup, |
213 | .init.x2apic_available = vmware_legacy_x2apic_available, | ||
213 | }; | 214 | }; |
214 | EXPORT_SYMBOL(x86_hyper_vmware); | ||