lkml.org 
[lkml]   [2010]   [Nov]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH 3/3] Allow setup_irq call for VPE1 timer.
Date
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


\
 
 \ /
  Last update: 2010-11-25 16:09    [W:2.157 / U:0.424 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site