]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
[PATCH] uml: change timer initialization
authorJeff Dike <jdike@addtoit.com>
Thu, 4 May 2006 02:55:03 +0000 (19:55 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Thu, 4 May 2006 03:05:40 +0000 (20:05 -0700)
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 <jdike@addtoit.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/um/kernel/time_kern.c

index 3c7626cdba4be3c2a1364d7c429f317d232f20b8..528cf623f8b4144cbf77b4c0337a1ee6ab423185 100644 (file)
@@ -209,4 +209,4 @@ int __init timer_init(void)
        return(0);
 }
 
-__initcall(timer_init);
+arch_initcall(timer_init);