commit | d63d3e6217c49b81d74141b7920bbe5950532432 | [log] [tgz] |
---|---|---|
author | Avi Kivity <avi@redhat.com> | Wed Jul 18 11:48:50 2012 +0300 |
committer | Marcelo Tosatti <mtosatti@redhat.com> | Wed Jul 18 17:01:48 2012 -0300 |
tree | fed634e041adb352952baa5655c56ec445fa7524 | |
parent | ebf7d2e9939f6571ef0b7381e7f95eb10f0c686b [diff] [blame] |
x86, hyper: fix build with !CONFIG_KVM_GUEST Signed-off-by: Avi Kivity <avi@redhat.com> Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
diff --git a/arch/x86/kernel/cpu/hypervisor.c b/arch/x86/kernel/cpu/hypervisor.c index 6d6dd7a..a8f8fa9 100644 --- a/arch/x86/kernel/cpu/hypervisor.c +++ b/arch/x86/kernel/cpu/hypervisor.c
@@ -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;