Commit 58b08935 authored by Jeff Dike's avatar Jeff Dike Committed by Linus Torvalds

[PATCH] uml: enable the timer *after* the timer handler

Otherwise, we'll sometimes get timer interrupts that we can't handle.
Signed-off-by: default avatarJeff Dike <jdike@addtoit.com>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 5a47e2f1
...@@ -224,9 +224,9 @@ int start_uml_skas(void) ...@@ -224,9 +224,9 @@ int start_uml_skas(void)
{ {
start_userspace(0); start_userspace(0);
capture_signal_stack(); capture_signal_stack();
uml_idle_timer();
init_new_thread_signals(1); init_new_thread_signals(1);
uml_idle_timer();
init_task.thread.request.u.thread.proc = start_kernel_proc; init_task.thread.request.u.thread.proc = start_kernel_proc;
init_task.thread.request.u.thread.arg = NULL; init_task.thread.request.u.thread.arg = NULL;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment