[SPARC64]: Don't set interrupt state to IDLE in enable_irq().
David S. Miller [Fri, 17 Feb 2006 04:44:25 +0000 (20:44 -0800)]
We'll lose events that way.

Signed-off-by: David S. Miller <davem@davemloft.net>

arch/sparc64/kernel/irq.c

index 580b4de..6eb44ca 100644 (file)
@@ -163,10 +163,6 @@ void enable_irq(unsigned int irq)
                if (err != HV_EOK)
                        printk("sun4v_intr_setenabled(%x): err(%d)\n",
                               ino, err);
-               err = sun4v_intr_setstate(ino, HV_INTR_STATE_IDLE);
-               if (err != HV_EOK)
-                       printk("sun4v_intr_setstate(%x): "
-                              "err(%d)\n", ino, err);
        } else {
                unsigned long tid;