[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 787d7e86326106e9215cb816388bdda28cbfa8f8
# Parent  ee007b1d5e1ae3c8f9ccf850d2cbab9830929272
Fix inverted BUG_ON().

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

diff -r ee007b1d5e1a -r 787d7e863261 xen/arch/x86/dom0_ops.c
--- a/xen/arch/x86/dom0_ops.c   Fri Apr 21 10:45:31 2006 +0100
+++ b/xen/arch/x86/dom0_ops.c   Fri Apr 21 14:04:01 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®.