public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] Introduce mips_late_time_init
@ 2010-12-06  8:23 Anoop P A
  2010-12-06 17:42 ` David Daney
  0 siblings, 1 reply; 6+ messages in thread
From: Anoop P A @ 2010-12-06  8:23 UTC (permalink / raw)
  To: Ralf Baechle, linux-mips, linux-kernel

This patch moves plat_time_init and clocksoure init funtion calls to
late_time_init. 

Signed-off-by: Anoop P A <anoop.pa@gmail.com>
---
diff --git a/arch/mips/kernel/time.c b/arch/mips/kernel/time.c
index fb74974..dbd1ac5 100644
--- a/arch/mips/kernel/time.c
+++ b/arch/mips/kernel/time.c
@@ -117,10 +117,16 @@ static __init int cpu_has_mfc0_count_bug(void)
 	return 0;
 }
 
-void __init time_init(void)
+void __init mips_late_time_init(void)
 {
 	plat_time_init();
 
 	if (!mips_clockevent_init() || !cpu_has_mfc0_count_bug())
 		init_mips_clocksource();
 }
+
+
+void __init time_init(void)
+{
+	late_time_init = mips_late_time_init;
+}



^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2010-12-10 17:22 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-12-06  8:23 [PATCH] Introduce mips_late_time_init Anoop P A
2010-12-06 17:42 ` David Daney
2010-12-08 20:37   ` Ralf Baechle
2010-12-08 21:21     ` Thomas Gleixner
2010-12-08 22:45       ` Benjamin Herrenschmidt
2010-12-10 17:21         ` Paul Mundt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox