]> asedeno.scripts.mit.edu Git - linux.git/blobdiff - arch/powerpc/kvm/powerpc.c
KVM: Directly return result from kvm_arch_check_processor_compat()
[linux.git] / arch / powerpc / kvm / powerpc.c
index aa3a678711beecfa99b544d182cb6af021141c8e..628d3c791ad727bfb9e0cd597a70a3539a21f73a 100644 (file)
@@ -425,9 +425,9 @@ int kvm_arch_hardware_setup(void)
        return 0;
 }
 
-void kvm_arch_check_processor_compat(void *rtn)
+int kvm_arch_check_processor_compat(void)
 {
-       *(int *)rtn = kvmppc_core_check_processor_compat();
+       return kvmppc_core_check_processor_compat();
 }
 
 int kvm_arch_init_vm(struct kvm *kvm, unsigned long type)