mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-08-05 16:54:27 +00:00
xen/pvhvm: fix build problem when !CONFIG_XEN
x86_hyper_xen_hvm is only defined when Xen is enabled in the kernel config. Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
This commit is contained in:
parent
43df95c44e
commit
b43275d661
1 changed files with 2 additions and 0 deletions
|
@ -34,7 +34,9 @@ static const __initconst struct hypervisor_x86 * const hypervisors[] =
|
||||||
{
|
{
|
||||||
&x86_hyper_vmware,
|
&x86_hyper_vmware,
|
||||||
&x86_hyper_ms_hyperv,
|
&x86_hyper_ms_hyperv,
|
||||||
|
#ifdef CONFIG_XEN
|
||||||
&x86_hyper_xen_hvm,
|
&x86_hyper_xen_hvm,
|
||||||
|
#endif
|
||||||
};
|
};
|
||||||
|
|
||||||
const struct hypervisor_x86 *x86_hyper;
|
const struct hypervisor_x86 *x86_hyper;
|
||||||
|
|
Loading…
Add table
Reference in a new issue