Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=991f8b6ac5a7284612679f4a095578b460555e8f
Commit:     991f8b6ac5a7284612679f4a095578b460555e8f
Parent:     c9662341f8a09cffd7234a89cc066c342fe343bf
Author:     Yoichi Yuasa <[EMAIL PROTECTED]>
AuthorDate: Wed Dec 12 22:11:09 2007 +0900
Committer:  Ralf Baechle <[EMAIL PROTECTED]>
CommitDate: Tue Jan 29 10:15:00 2008 +0000

    [MIPS] move vr41xx_calculate_clock_frequency() to plat_time_init()
    
    Moved vr41xx_calculate_clock_frequency() to plat_time_init().
    This function relates to the timer function.
    
    Signed-off-by: Yoichi Yuasa <[EMAIL PROTECTED]>
    Signed-off-by: Ralf Baechle <[EMAIL PROTECTED]>
---
 arch/mips/vr41xx/common/init.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/arch/mips/vr41xx/common/init.c b/arch/mips/vr41xx/common/init.c
index 8d760df..76d4b5e 100644
--- a/arch/mips/vr41xx/common/init.c
+++ b/arch/mips/vr41xx/common/init.c
@@ -40,6 +40,8 @@ void __init plat_time_init(void)
 {
        unsigned long tclock;
 
+       vr41xx_calculate_clock_frequency();
+
        tclock = vr41xx_get_tclock_frequency();
        if (current_cpu_data.processor_id == PRID_VR4131_REV2_0 ||
            current_cpu_data.processor_id == PRID_VR4131_REV2_1)
@@ -50,8 +52,6 @@ void __init plat_time_init(void)
 
 void __init plat_mem_setup(void)
 {
-       vr41xx_calculate_clock_frequency();
-
        iomem_resource_init();
 }
 
-
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