From: Anoop P <anoop.pa@gmail.com>
To: linux-mips@linux-mips.org, dvomlehn@cisco.com
Cc: Anoop P A <anoop.pa@gmail.com>,
Ralf Baechle <ralf@linux-mips.org>,
David Howells <dhowells@redhat.com>,
Thomas Gleixner <tglx@linutronix.de>,
David Daney <ddaney@caviumnetworks.com>,
linux-kernel@vger.kernel.org
Subject: [PATCH 3/3] Allow setup_irq call for VPE1 timer.
Date: Thu, 25 Nov 2010 20:37:12 +0530 [thread overview]
Message-ID: <1290697632-6139-1-git-send-email-anoop.pa@gmail.com> (raw)
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
next reply other threads:[~2010-11-25 15:06 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-11-25 15:07 Anoop P [this message]
2010-12-01 11:24 ` Ralf Baechle
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1290697632-6139-1-git-send-email-anoop.pa@gmail.com \
--to=anoop.pa@gmail.com \
--cc=ddaney@caviumnetworks.com \
--cc=dhowells@redhat.com \
--cc=dvomlehn@cisco.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mips@linux-mips.org \
--cc=ralf@linux-mips.org \
--cc=tglx@linutronix.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®