summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorRaymond Burns <rayburns@comcast.net>2006-07-17 21:50:55 -0700
committerDavid S. Miller <davem@sunset.davemloft.net>2006-07-21 14:18:18 -0700
commit198c167c5424d30d4f6687aed6e54ef71036f8e9 (patch)
tree2cfa81ce483398a7ab2f220122b88a3a005683fe /arch
parentc2d3bffebc2cb651ed33abae2434f85cd503a498 (diff)
downloadop-kernel-dev-198c167c5424d30d4f6687aed6e54ef71036f8e9.zip
op-kernel-dev-198c167c5424d30d4f6687aed6e54ef71036f8e9.tar.gz
[SPARC]: Do not call sun4m_irq_rotate on sun4d.
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch')
-rw-r--r--arch/sparc/kernel/irq.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/sparc/kernel/irq.c b/arch/sparc/kernel/irq.c
index cde7332..72f0201 100644
--- a/arch/sparc/kernel/irq.c
+++ b/arch/sparc/kernel/irq.c
@@ -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;
OpenPOWER on IntegriCloud