From: Jeff Dike Date: Thu, 4 May 2006 02:55:03 +0000 (-0700) Subject: [PATCH] uml: change timer initialization X-Git-Tag: firefly_0821_release~35875 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=6760da0197a6ee327a09dafc070b26e2f02651fe;p=firefly-linux-kernel-4.4.55.git [PATCH] uml: change timer initialization inet_init, which schedules, is called before the UML timer_init, which sets up the timer. The result is the interval timers being manipulated before the appropriate signal handlers are established, causing unhandled timers. This is fixed by making timer_init be called earlier. Signed-off-by: Jeff Dike Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/arch/um/kernel/time_kern.c b/arch/um/kernel/time_kern.c index 3c7626cdba4b..528cf623f8b4 100644 --- a/arch/um/kernel/time_kern.c +++ b/arch/um/kernel/time_kern.c @@ -209,4 +209,4 @@ int __init timer_init(void) return(0); } -__initcall(timer_init); +arch_initcall(timer_init);