Skip to content

Commit

Permalink
xen/pvhvm: fix build problem when !CONFIG_XEN
Browse files Browse the repository at this point in the history
x86_hyper_xen_hvm is only defined when Xen is enabled in the kernel
config.

Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
  • Loading branch information
Jeremy Fitzhardinge committed Jul 27, 2010
1 parent 43df95c commit b43275d
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 @@ -34,7 +34,9 @@ static const __initconst struct hypervisor_x86 * const hypervisors[] =
{
&x86_hyper_vmware,
&x86_hyper_ms_hyperv,
#ifdef CONFIG_XEN
&x86_hyper_xen_hvm,
#endif
};

const struct hypervisor_x86 *x86_hyper;
Expand Down

0 comments on commit b43275d

Please sign in to comment.