| To: | Ralf Baechle <ralf@linux-mips.org> |
|---|---|
| Subject: | [PATCH][MIPS] move vr41xx_calculate_clock_frequency() to plat_time_init() |
| From: | Yoichi Yuasa <yoichi_yuasa@tripeaks.co.jp> |
| Date: | Wed, 12 Dec 2007 22:11:09 +0900 |
| Cc: | yoichi_yuasa@tripeaks.co.jp, linux-mips <linux-mips@linux-mips.org> |
| Organization: | TriPeaks Corporation |
| Original-recipient: | rfc822;linux-mips@linux-mips.org |
| Sender: | linux-mips-bounce@linux-mips.org |
Moved vr41xx_calculate_clock_frequency() to plat_time_init().
This function relates to the timer function.
Signed-off-by: Yoichi Yuasa <yoichi_yuasa@tripeaks.co.jp>
diff -pruN -X mips/Documentation/dontdiff
mips-orig/arch/mips/vr41xx/common/init.c mips/arch/mips/vr41xx/common/init.c
--- mips-orig/arch/mips/vr41xx/common/init.c 2007-10-25 07:34:48.001908250
+0900
+++ mips/arch/mips/vr41xx/common/init.c 2007-10-25 07:49:57.538750750 +0900
@@ -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();
}
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: 2.6.24-rc2 crash in kmap_coherent, Ralf Baechle |
|---|---|
| Next by Date: | [PATCH][1/2][MIPS] remove unneeded button check for reset, Yoichi Yuasa |
| Previous by Thread: | 2.6.24-rc2 crash in kmap_coherent, Florian Lohoff |
| Next by Thread: | Re: [PATCH][MIPS] move vr41xx_calculate_clock_frequency() to plat_time_init(), Ralf Baechle |
| Indexes: | [Date] [Thread] [Top] [All Lists] |