diff options
Diffstat (limited to 'arch/um/kernel')
-rw-r--r-- | arch/um/kernel/process.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/um/kernel/process.c b/arch/um/kernel/process.c index ae1942eeb994..7a291239242b 100644 --- a/arch/um/kernel/process.c +++ b/arch/um/kernel/process.c | |||
@@ -199,7 +199,7 @@ int copy_thread(int nr, unsigned long clone_flags, unsigned long sp, | |||
199 | arch_copy_thread(¤t->thread.arch, &p->thread.arch); | 199 | arch_copy_thread(¤t->thread.arch, &p->thread.arch); |
200 | } | 200 | } |
201 | else { | 201 | else { |
202 | init_thread_registers(&p->thread.regs.regs); | 202 | get_safe_registers(p->thread.regs.regs.gp); |
203 | p->thread.request.u.thread = current->thread.request.u.thread; | 203 | p->thread.request.u.thread = current->thread.request.u.thread; |
204 | handler = new_thread_handler; | 204 | handler = new_thread_handler; |
205 | } | 205 | } |