From: Jeff Dike Date: Thu, 4 May 2006 02:55:03 +0000 (-0700) Subject: [PATCH] uml: change timer initialization X-Git-Tag: v2.6.17-rc4~51 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=6760da0197a6ee327a09dafc070b26e2f02651fe;p=linux-2.6-omap-h63xx.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 3c7626cdba4..528cf623f8b 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);