diff options
author | Zachary Amsden <zamsden@redhat.com> | 2010-06-15 01:42:15 +0400 |
---|---|---|
committer | Avi Kivity <avi@redhat.com> | 2010-08-01 11:46:46 +0400 |
commit | bd371396b38ffc4bd6444b0203f33b99d18cedd0 (patch) | |
tree | 6187dd8a99636d1116534e7c9a4f5123d8b5803e /arch/x86/kvm/lapic.c | |
parent | 1047df1fb682a41eb9885d6b3f2d04d6c8fd3756 (diff) | |
download | linux-bd371396b38ffc4bd6444b0203f33b99d18cedd0.tar.xz |
KVM: x86: fix -DDEBUG oops
Fix a slight error with assertion in local APIC code.
Signed-off-by: Zachary Amsden <zamsden@redhat.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
Diffstat (limited to 'arch/x86/kvm/lapic.c')
-rw-r--r-- | arch/x86/kvm/lapic.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kvm/lapic.c b/arch/x86/kvm/lapic.c index d8258a0060f8..024f6d1c2996 100644 --- a/arch/x86/kvm/lapic.c +++ b/arch/x86/kvm/lapic.c @@ -329,7 +329,7 @@ int kvm_apic_match_dest(struct kvm_vcpu *vcpu, struct kvm_lapic *source, "dest_mode 0x%x, short_hand 0x%x\n", target, source, dest, dest_mode, short_hand); - ASSERT(!target); + ASSERT(target); switch (short_hand) { case APIC_DEST_NOSHORT: if (dest_mode == 0) |