[POWERPC] ps3_free_io_irq: Fix inverted error check
authorGeert Uytterhoeven <Geert.Uytterhoeven@sonycom.com>
Thu, 21 Dec 2006 12:57:16 +0000 (13:57 +0100)
committerPaul Mackerras <paulus@samba.org>
Wed, 24 Jan 2007 10:08:14 +0000 (21:08 +1100)
ps3_free_io_irq: Fix inverted error check after calling
lv1_destruct_io_irq_outlet().

Signed-off-by: Geert Uytterhoeven <Geert.Uytterhoeven@sonycom.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/platforms/ps3/interrupt.c

index 056c1e4..6f5de43 100644 (file)
@@ -71,7 +71,7 @@ int ps3_free_io_irq(unsigned int virq)
 
        result = lv1_destruct_io_irq_outlet(virq_to_hw(virq));
 
-       if (!result)
+       if (result)
                pr_debug("%s:%d: lv1_destruct_io_irq_outlet failed: %s\n",
                        __func__, __LINE__, ps3_result(result));