[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1290697632-6139-1-git-send-email-anoop.pa@gmail.com>
Date: Thu, 25 Nov 2010 20:37:12 +0530
From: Anoop P <anoop.pa@...il.com>
To: linux-mips@...ux-mips.org, dvomlehn@...co.com
Cc: Anoop P A <anoop.pa@...il.com>, Ralf Baechle <ralf@...ux-mips.org>,
David Howells <dhowells@...hat.com>,
Thomas Gleixner <tglx@...utronix.de>,
David Daney <ddaney@...iumnetworks.com>,
linux-kernel@...r.kernel.org
Subject: [PATCH 3/3] Allow setup_irq call for VPE1 timer.
From: Anoop P A <anoop.pa@...il.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@...il.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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists