aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/kvm/lapic.c
diff options
context:
space:
mode:
authorZachary Amsden <zamsden@redhat.com>2010-06-14 17:42:15 -0400
committerAvi Kivity <avi@redhat.com>2010-08-01 03:46:46 -0400
commitbd371396b38ffc4bd6444b0203f33b99d18cedd0 (patch)
tree6187dd8a99636d1116534e7c9a4f5123d8b5803e /arch/x86/kvm/lapic.c
parent1047df1fb682a41eb9885d6b3f2d04d6c8fd3756 (diff)
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.c2
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,
329 "dest_mode 0x%x, short_hand 0x%x\n", 329 "dest_mode 0x%x, short_hand 0x%x\n",
330 target, source, dest, dest_mode, short_hand); 330 target, source, dest, dest_mode, short_hand);
331 331
332 ASSERT(!target); 332 ASSERT(target);
333 switch (short_hand) { 333 switch (short_hand) {
334 case APIC_DEST_NOSHORT: 334 case APIC_DEST_NOSHORT:
335 if (dest_mode == 0) 335 if (dest_mode == 0)