diff options
author | Al Viro <viro@ftp.linux.org.uk> | 2006-01-12 04:05:48 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-01-12 12:08:53 -0500 |
commit | 579b3ea5916d60ade1e04d2a49637e5cbba67eac (patch) | |
tree | 9dd96a3fc1e55b3c093ef611edcd16a7aed1f32a /arch/um/kernel/skas | |
parent | ca9bc0bb2d1c7afdd34ec79b3de4d16a8e0225e8 (diff) |
[PATCH] uml: task_stack_page()
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'arch/um/kernel/skas')
-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 | } |