]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: x86: clean up kvm_arch_vcpu_runnable
authorPaolo Bonzini <pbonzini@redhat.com>
Tue, 13 Oct 2015 08:18:53 +0000 (10:18 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 13 Oct 2015 16:28:59 +0000 (18:28 +0200)
commit2f554585a1fdf14f12be04ca2c6214baa7d4bdde
tree38388baf64a0902881d44ff26e0f7747e007cfc8
parent99fd67af65bc4ebc29028886392f59111431cb4f
KVM: x86: clean up kvm_arch_vcpu_runnable

Split the huge conditional in two functions.

Fixes: 541407eab49aee056485de5237119fc46b82bf5e
Cc: stable@vger.kernel.org
Reviewed-by: Radim Krčmář <rkrcmar@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/x86.c