[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] Fix inverted BUG_ON().



# HG changeset patch
# User kaf24@xxxxxxxxxxxxxxxxxxxx
# Node ID 65894fff3649f58851fa59f38a66ab06e1244ba6
# Parent  fbd1d55c5bafc7e1422d37f8852d1853299bf420
Fix inverted BUG_ON().

Signed-off-by: Keir Fraser <keir@xxxxxxxxxxxxx>

diff -r fbd1d55c5baf -r 65894fff3649 xen/arch/x86/dom0_ops.c
--- a/xen/arch/x86/dom0_ops.c   Fri Apr 21 12:48:58 2006 +0000
+++ b/xen/arch/x86/dom0_ops.c   Fri Apr 21 14:03:07 2006 +0100
@@ -394,7 +394,7 @@ long arch_do_dom0_op(struct dom0_op *op,
             printk("Platform info -- IO-APIC REGSEL is %s\n",
                    sis_apic_bug ? "bad" : "good");
 #else
-            BUG_ON(sis_apic_bug == (quirk_id == QUIRK_IOAPIC_BAD_REGSEL));
+            BUG_ON(sis_apic_bug != (quirk_id == QUIRK_IOAPIC_BAD_REGSEL));
 #endif
             break;
         default:

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.