All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 3/3] Allow setup_irq call for VPE1 timer.
@ 2010-11-25 15:07 Anoop P
  2010-12-01 11:24 ` Ralf Baechle
  0 siblings, 1 reply; 2+ messages in thread
From: Anoop P @ 2010-11-25 15:07 UTC (permalink / raw)
  To: linux-mips, dvomlehn
  Cc: Anoop P A, Ralf Baechle, David Howells, Thomas Gleixner,
	David Daney, linux-kernel

From: Anoop P A <anoop.pa@gmail.com>

VSMP configuration can have seperate timer interrupts for each VPE.Need to setup IRQ for VPE1 timer.

Signed-off-by: Anoop P A <anoop.pa@gmail.com>
---
 arch/mips/kernel/cevt-r4k.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/arch/mips/kernel/cevt-r4k.c b/arch/mips/kernel/cevt-r4k.c
index 2f4d7a9..7eaeacd 100644
--- a/arch/mips/kernel/cevt-r4k.c
+++ b/arch/mips/kernel/cevt-r4k.c
@@ -203,9 +203,10 @@ int __cpuinit r4k_clockevent_init(void)
 
 	clockevents_register_device(cd);
 
+#ifndef CONFIG_MIPS_MT_SMP
 	if (cp0_timer_irq_installed)
 		return 0;
-
+#endif
 	cp0_timer_irq_installed = 1;
 
 	setup_irq(irq, &c0_compare_irqaction);
-- 
1.7.0.4

^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-12-01 11:24 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-11-25 15:07 [PATCH 3/3] Allow setup_irq call for VPE1 timer Anoop P
2010-12-01 11:24 ` Ralf Baechle

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.