Skip to content

Commit

Permalink
[PATCH] uml: change timer initialization
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Jeff Dike authored and Linus Torvalds committed May 4, 2006
1 parent f0ec5e3 commit 6760da0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/um/kernel/time_kern.c
Original file line number Diff line number Diff line change
Expand Up @@ -209,4 +209,4 @@ int __init timer_init(void)
return(0);
}

__initcall(timer_init);
arch_initcall(timer_init);

0 comments on commit 6760da0

Please sign in to comment.