]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - arch/x86/kernel/kvm.c
Merge branch 'x86-spinlocks-for-linus' of git://git.kernel.org/pub/scm/linux/kernel...
[karo-tx-linux.git] / arch / x86 / kernel / kvm.c
index 56e2fa4a8b13a203b7a8ec5ddde3d0c058449006..697b93af02ddbc0fb4461b5d853810fa250cd0a1 100644 (file)
@@ -500,11 +500,9 @@ void __init kvm_guest_init(void)
 #endif
 }
 
-static bool __init kvm_detect(void)
+static uint32_t __init kvm_detect(void)
 {
-       if (!kvm_para_available())
-               return false;
-       return true;
+       return kvm_cpuid_base();
 }
 
 const struct hypervisor_x86 x86_hyper_kvm __refconst = {