summaryrefslogtreecommitdiffstats
path: root/arch/x86/kvm/lapic.c
diff options
context:
space:
mode:
authorZachary Amsden <zamsden@redhat.com>2010-06-14 11:42:15 -1000
committerAvi Kivity <avi@redhat.com>2010-08-01 10:46:46 +0300
commitbd371396b38ffc4bd6444b0203f33b99d18cedd0 (patch)
tree6187dd8a99636d1116534e7c9a4f5123d8b5803e /arch/x86/kvm/lapic.c
parent1047df1fb682a41eb9885d6b3f2d04d6c8fd3756 (diff)
downloadop-kernel-dev-bd371396b38ffc4bd6444b0203f33b99d18cedd0.zip
op-kernel-dev-bd371396b38ffc4bd6444b0203f33b99d18cedd0.tar.gz
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 d8258a0..024f6d1 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)
OpenPOWER on IntegriCloud