ia64/xen-unstable

changeset 9811:65894fff3649

Fix inverted BUG_ON().

Signed-off-by: Keir Fraser <keir@xensource.com>
author kaf24@firebug.cl.cam.ac.uk
date Fri Apr 21 14:03:07 2006 +0100 (2006-04-21)
parents fbd1d55c5baf
children 93cffd2ea6a9
files xen/arch/x86/dom0_ops.c
line diff
     1.1 --- a/xen/arch/x86/dom0_ops.c	Fri Apr 21 12:48:58 2006 +0000
     1.2 +++ b/xen/arch/x86/dom0_ops.c	Fri Apr 21 14:03:07 2006 +0100
     1.3 @@ -394,7 +394,7 @@ long arch_do_dom0_op(struct dom0_op *op,
     1.4              printk("Platform info -- IO-APIC REGSEL is %s\n",
     1.5                     sis_apic_bug ? "bad" : "good");
     1.6  #else
     1.7 -            BUG_ON(sis_apic_bug == (quirk_id == QUIRK_IOAPIC_BAD_REGSEL));
     1.8 +            BUG_ON(sis_apic_bug != (quirk_id == QUIRK_IOAPIC_BAD_REGSEL));
     1.9  #endif
    1.10              break;
    1.11          default: