aboutsummaryrefslogtreecommitdiffstats
path: root/arch/um/kernel/process.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/um/kernel/process.c')
-rw-r--r--arch/um/kernel/process.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/um/kernel/process.c b/arch/um/kernel/process.c
index 4d9af3172d9f..3a2235e0abc3 100644
--- a/arch/um/kernel/process.c
+++ b/arch/um/kernel/process.c
@@ -196,7 +196,7 @@ int copy_thread(unsigned long clone_flags, unsigned long sp,
196 if (current->thread.forking) { 196 if (current->thread.forking) {
197 memcpy(&p->thread.regs.regs, &regs->regs, 197 memcpy(&p->thread.regs.regs, &regs->regs,
198 sizeof(p->thread.regs.regs)); 198 sizeof(p->thread.regs.regs));
199 REGS_SET_SYSCALL_RETURN(p->thread.regs.regs.gp, 0); 199 UPT_SET_SYSCALL_RETURN(&p->thread.regs.regs, 0);
200 if (sp != 0) 200 if (sp != 0)
201 REGS_SP(p->thread.regs.regs.gp) = sp; 201 REGS_SP(p->thread.regs.regs.gp) = sp;
202 202