]> git.hungrycats.org Git - linux/commitdiff
[PATCH] uml: enable the timer *after* the timer handler
authorJeff Dike <jdike@addtoit.com>
Fri, 17 Sep 2004 05:10:46 +0000 (22:10 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Fri, 17 Sep 2004 05:10:46 +0000 (22:10 -0700)
Otherwise, we'll sometimes get timer interrupts that we can't handle.

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/skas/process_kern.c

index 6ad6c03254bbedbf5b774d3672d99f4319848c79..a5aecf38be026277cb581d48f30987f8e73d4e99 100644 (file)
@@ -224,9 +224,9 @@ int start_uml_skas(void)
 {
        start_userspace(0);
        capture_signal_stack();
-       uml_idle_timer();
 
        init_new_thread_signals(1);
+       uml_idle_timer();
 
        init_task.thread.request.u.thread.proc = start_kernel_proc;
        init_task.thread.request.u.thread.arg = NULL;