[SPARC]: Do not call sun4m_irq_rotate on sun4d.
authorRaymond Burns <rayburns@comcast.net>
Tue, 18 Jul 2006 04:50:55 +0000 (21:50 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Fri, 21 Jul 2006 21:18:18 +0000 (14:18 -0700)
Signed-off-by: David S. Miller <davem@davemloft.net>
arch/sparc/kernel/irq.c

index cde73327ca962b906cee82d0b40c6d1c09f63ecb..72f0201051a0bd9fa0cff67c8a3792e5dbf3795c 100644 (file)
@@ -329,7 +329,7 @@ void handler_irq(int irq, struct pt_regs * regs)
        disable_pil_irq(irq);
 #ifdef CONFIG_SMP
        /* Only rotate on lower priority IRQ's (scsi, ethernet, etc.). */
-       if(irq < 10)
+       if((sparc_cpu_model==sun4m) && (irq < 10))
                smp4m_irq_rotate(cpu);
 #endif
        action = sparc_irq[irq].action;