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 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

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