* [PATCH][MIPS] add mips_hpt_frequency check to mips_clockevent_init()
@ 2007-10-26 13:27 Yoichi Yuasa
2007-10-28 19:23 ` Ralf Baechle
0 siblings, 1 reply; 2+ messages in thread
From: Yoichi Yuasa @ 2007-10-26 13:27 UTC (permalink / raw)
To: Ralf Baechle; +Cc: yoichi_yuasa, linux-mips
Add mips_hpt_frequency check to mips_clockevent_init().
Signed-off-by: Yoichi Yuasa <yoichi_yuasa@tripeaks.co.jp>
diff -pruN -X mips/Documentation/dontdiff mips-orig/arch/mips/kernel/cevt-r4k.c mips/arch/mips/kernel/cevt-r4k.c
--- mips-orig/arch/mips/kernel/cevt-r4k.c 2007-10-21 12:44:50.113477500 +0900
+++ mips/arch/mips/kernel/cevt-r4k.c 2007-10-21 12:49:09.177668000 +0900
@@ -220,7 +220,7 @@ void __cpuinit mips_clockevent_init(void
struct clock_event_device *cd;
unsigned int irq = MIPS_CPU_IRQ_BASE + 7;
- if (!cpu_has_counter)
+ if (!cpu_has_counter || !mips_hpt_frequency)
return;
#ifdef CONFIG_MIPS_MT_SMTC
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH][MIPS] add mips_hpt_frequency check to mips_clockevent_init()
2007-10-26 13:27 [PATCH][MIPS] add mips_hpt_frequency check to mips_clockevent_init() Yoichi Yuasa
@ 2007-10-28 19:23 ` Ralf Baechle
0 siblings, 0 replies; 2+ messages in thread
From: Ralf Baechle @ 2007-10-28 19:23 UTC (permalink / raw)
To: Yoichi Yuasa; +Cc: linux-mips
On Fri, Oct 26, 2007 at 10:27:05PM +0900, Yoichi Yuasa wrote:
> Add mips_hpt_frequency check to mips_clockevent_init().
Indeed. I actually meant that check to be there ...
Thanks, applied.
Ralf
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2007-10-28 19:23 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-10-26 13:27 [PATCH][MIPS] add mips_hpt_frequency check to mips_clockevent_init() Yoichi Yuasa
2007-10-28 19:23 ` Ralf Baechle
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox