Skip to contentSkip to conversation

fix -DDEBUG oops

PATCH Applied Zachary Amsden 2 participants 2 messages Jun 14, 2010 – Jun 16, 2010

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 fix -DDEBUG oops

Patch is fairly self-explanatory.

KVM -DDEBUG fix

Fix a slight error with assertion in local APIC code.

arch/x86/kvm/lapic.c +1 -1
index d8258a0..024f6d1 100644
@@ -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)