diff options
author | Jeff Dike <jdike@addtoit.com> | 2006-05-03 19:55:03 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-05-03 20:05:40 -0700 |
commit | 6760da0197a6ee327a09dafc070b26e2f02651fe (patch) | |
tree | d46d67012dda04b679e1d62179e89906a9edea72 /arch | |
parent | f0ec5e39765cd254d436a6d86e211d81795952a4 (diff) | |
download | linux-3.10-6760da0197a6ee327a09dafc070b26e2f02651fe.tar.gz linux-3.10-6760da0197a6ee327a09dafc070b26e2f02651fe.tar.bz2 linux-3.10-6760da0197a6ee327a09dafc070b26e2f02651fe.zip |
[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 <jdike@addtoit.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/um/kernel/time_kern.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); |