projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ebf7d2e
)
x86, hyper: fix build with !CONFIG_KVM_GUEST
author
Avi Kivity
<avi@redhat.com>
Wed, 18 Jul 2012 08:48:50 +0000
(11:48 +0300)
committer
Marcelo Tosatti
<mtosatti@redhat.com>
Wed, 18 Jul 2012 20:01:48 +0000
(17:01 -0300)
Signed-off-by: Avi Kivity <avi@redhat.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
arch/x86/kernel/cpu/hypervisor.c
patch
|
blob
|
history
diff --git
a/arch/x86/kernel/cpu/hypervisor.c
b/arch/x86/kernel/cpu/hypervisor.c
index 6d6dd7afb2296b939470a66a091299dde4ddec94..a8f8fa9769d680869d1f9e533f79608baa181ca7 100644
(file)
--- a/
arch/x86/kernel/cpu/hypervisor.c
+++ b/
arch/x86/kernel/cpu/hypervisor.c
@@
-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;