diff options
Diffstat (limited to 'arch/um/kernel/skas/process_kern.c')
-rw-r--r-- | arch/um/kernel/skas/process_kern.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/um/kernel/skas/process_kern.c b/arch/um/kernel/skas/process_kern.c index 09790ccb161c..dc41c6dc2f34 100644 --- a/arch/um/kernel/skas/process_kern.c +++ b/arch/um/kernel/skas/process_kern.c | |||
@@ -118,7 +118,7 @@ int copy_thread_skas(int nr, unsigned long clone_flags, unsigned long sp, | |||
118 | handler = new_thread_handler; | 118 | handler = new_thread_handler; |
119 | } | 119 | } |
120 | 120 | ||
121 | new_thread(p->thread_info, &p->thread.mode.skas.switch_buf, | 121 | new_thread(task_stack_page(p), &p->thread.mode.skas.switch_buf, |
122 | &p->thread.mode.skas.fork_buf, handler); | 122 | &p->thread.mode.skas.fork_buf, handler); |
123 | return(0); | 123 | return(0); |
124 | } | 124 | } |
@@ -185,7 +185,7 @@ int start_uml_skas(void) | |||
185 | 185 | ||
186 | init_task.thread.request.u.thread.proc = start_kernel_proc; | 186 | init_task.thread.request.u.thread.proc = start_kernel_proc; |
187 | init_task.thread.request.u.thread.arg = NULL; | 187 | init_task.thread.request.u.thread.arg = NULL; |
188 | return(start_idle_thread(init_task.thread_info, | 188 | return(start_idle_thread(task_stack_page(&init_task), |
189 | &init_task.thread.mode.skas.switch_buf, | 189 | &init_task.thread.mode.skas.switch_buf, |
190 | &init_task.thread.mode.skas.fork_buf)); | 190 | &init_task.thread.mode.skas.fork_buf)); |
191 | } | 191 | } |