Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=22df3f53e33d55335e1ef43d4e6ead54b379b3a2
Commit:     22df3f53e33d55335e1ef43d4e6ead54b379b3a2
Parent:     8a13ecd7b2f8008659e91213f2803f269f1d8edf
Author:     Yoichi Yuasa <[EMAIL PROTECTED]>
AuthorDate: Fri Oct 26 22:27:05 2007 +0900
Committer:  Ralf Baechle <[EMAIL PROTECTED]>
CommitDate: Mon Oct 29 19:35:35 2007 +0000

    [MIPS] Add mips_hpt_frequency check to mips_clockevent_init().
    
    Signed-off-by: Yoichi Yuasa <[EMAIL PROTECTED]>
    Signed-off-by: Ralf Baechle <[EMAIL PROTECTED]>
---
 arch/mips/kernel/cevt-r4k.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/arch/mips/kernel/cevt-r4k.c b/arch/mips/kernel/cevt-r4k.c
index ae2984f..cb46b02 100644
--- a/arch/mips/kernel/cevt-r4k.c
+++ b/arch/mips/kernel/cevt-r4k.c
@@ -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
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to