Thread (36 messages) flat view 36 messages, 8 authors, 2012-01-14
STALE5323d

[PATCH 08/15] ARM: shmobile: convert to twd_local_timer_register() interface

From: Russell King - ARM Linux <hidden>
Date: 2012-01-12 09:19:05

On Wed, Jan 11, 2012 at 01:08:47PM +0000, Marc Zyngier wrote:
quoted hunk ↗ jump to hunk
 static void __init shmobile_late_time_init(void)
 {
 	/*
@@ -34,6 +37,8 @@ static void __init shmobile_late_time_init(void)
 	 */
 	early_platform_driver_register_all("earlytimer");
 	early_platform_driver_probe("earlytimer", 2, 0);
+	if (local_timer_hook)
+		local_timer_hook();
This is why late_timer_init() should be avoided at all cost - you can
only have one of them and once you've used it once, you need to invent
new hooks to hook other stuff into there.

In any case, I don't think this is necessary for TWD as ioremap should
be available for regions which have already been statically mapped now
that Nicolas' patches are in mainline.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help