x86, hyper: fix build with !CONFIG_KVM_GUEST
PATCH 1/1 x86, hyper: fix build with !CONFIG_KVM_GUEST
Signed-off-by Avi Kivity <[email protected]>
--- arch/x86/kernel/cpu/hypervisor.c | 2 ++ 1 file changed, 2 insertions(+)
arch/x86/kernel/cpu/hypervisor.c +2 -0
@@ -37,7 +37,9 @@#endif &x86_hyper_vmware, &x86_hyper_ms_hyperv, +#ifdef CONFIG_KVM_GUEST &x86_hyper_kvm, +#endif };const struct hypervisor_x86 *x86_hyper;
Signature · 1 line
1.7.11.2
Marcelo Tosatti
AppliedQuoted 4 lines · Avi Kivity
Signed-off-by Avi Kivity <[email protected]>--- arch/x86/kernel/cpu/hypervisor.c | 2 ++ 1 file changed, 2 insertions(+)
Applied to next, thanks.