OSDN Git Service

KVM: x86: mmu: replace assertions with MMU_WARN_ON, a conditional WARN_ON
authorPaolo Bonzini <pbonzini@redhat.com>
Wed, 2 Oct 2013 14:56:16 +0000 (16:56 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Thu, 8 Jan 2015 21:48:04 +0000 (22:48 +0100)
commitfa4a2c080e37d362ae603f4ea157fe779bd85cb5
tree1c10a3a3c21d937ac817b3ddb28d5122dfbb8a5b
parent4c1a50de9223e1bb7ce5decdd69bdf34a864f03e
KVM: x86: mmu: replace assertions with MMU_WARN_ON, a conditional WARN_ON

This makes the direction of the conditions consistent with code that
is already using WARN_ON.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/mmu.c