WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-changelog

[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

<Prev in Thread] Current Thread [Next in Thread>