diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2012-05-20 06:05:58 +0200 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2012-05-21 22:28:34 +0200 |
commit | 243412be9cecfc7fddebb912a277b76119fd4ecd (patch) | |
tree | b74b7d87db67aed2a22acb7571a4349d3507f9b3 /arch/um/kernel/process.c | |
parent | um: bury unused _TIF_RESTORE_SIGMASK (diff) | |
download | linux-243412be9cecfc7fddebb912a277b76119fd4ecd.tar.xz linux-243412be9cecfc7fddebb912a277b76119fd4ecd.zip |
um/x86: merge (and trim) 32- and 64-bit variants of ptrace.h
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'arch/um/kernel/process.c')
-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 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, if (current->thread.forking) { memcpy(&p->thread.regs.regs, ®s->regs, sizeof(p->thread.regs.regs)); - REGS_SET_SYSCALL_RETURN(p->thread.regs.regs.gp, 0); + UPT_SET_SYSCALL_RETURN(&p->thread.regs.regs, 0); if (sp != 0) REGS_SP(p->thread.regs.regs.gp) = sp; |