Skip to content

Commit

Permalink
[SPARC]: Do not call sun4m_irq_rotate on sun4d.
Browse files Browse the repository at this point in the history
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
Raymond Burns authored and David S. Miller committed Jul 21, 2006
1 parent c2d3bff commit 198c167
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/sparc/kernel/irq.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 198c167

Please sign in to comment.