[SPARC64]: Don't set interrupt state to IDLE in enable_irq().
authorDavid S. Miller <davem@sunset.davemloft.net>
Fri, 17 Feb 2006 04:44:25 +0000 (20:44 -0800)
committerDavid S. Miller <davem@sunset.davemloft.net>
Mon, 20 Mar 2006 09:13:20 +0000 (01:13 -0800)
We'll lose events that way.

Signed-off-by: David S. Miller <davem@davemloft.net>
arch/sparc64/kernel/irq.c

index 580b4de8b7c6a7be3f1372fb3a8d20d1255e24af..6eb44ca5dba6252e6971cce1708211916505b042 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;