Signed-off-by: Andrew Morton --- 25-akpm/arch/um/kernel/smp.c | 4 +--- 1 files changed, 1 insertion(+), 3 deletions(-) diff -puN arch/um/kernel/smp.c~uml-sched-update arch/um/kernel/smp.c --- 25/arch/um/kernel/smp.c~uml-sched-update 2004-08-05 22:11:21.564444232 -0700 +++ 25-akpm/arch/um/kernel/smp.c 2004-08-05 22:11:29.870181568 -0700 @@ -148,8 +148,7 @@ static struct task_struct *idle_thread(i current->thread.request.u.thread.proc = idle_proc; current->thread.request.u.thread.arg = (void *) cpu; - new_task = copy_process(CLONE_VM | CLONE_IDLETASK, 0, NULL, 0, NULL, - NULL); + new_task = fork_idle(cpu); if(IS_ERR(new_task)) panic("copy_process failed in idle_thread, error = %ld", PTR_ERR(new_task)); @@ -161,7 +160,6 @@ static struct task_struct *idle_thread(i CHOOSE_MODE(os_write_file(new_task->thread.mode.tt.switch_pipe[1], &c, sizeof(c)), ({ panic("skas mode doesn't support SMP"); })); - wake_up_forked_process(new_task); return(new_task); } _