Skip to content

Commit

Permalink
x86, hyper: fix build with !CONFIG_KVM_GUEST
Browse files Browse the repository at this point in the history
Signed-off-by: Avi Kivity <avi@redhat.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
  • Loading branch information
avikivity authored and matosatti committed Jul 18, 2012
1 parent ebf7d2e commit d63d3e6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions arch/x86/kernel/cpu/hypervisor.c
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,9 @@ static const __initconst struct hypervisor_x86 * const hypervisors[] =
#endif
&x86_hyper_vmware,
&x86_hyper_ms_hyperv,
#ifdef CONFIG_KVM_GUEST
&x86_hyper_kvm,
#endif
};

const struct hypervisor_x86 *x86_hyper;
Expand Down

0 comments on commit d63d3e6

Please sign in to comment.