um/x86: merge (and trim) 32- and 64-bit variants of ptrace.h

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
This commit is contained in:
Al Viro
2012-05-20 00:05:58 -04:00
parent c6802f4370
commit 243412be9c
13 changed files with 150 additions and 279 deletions

View File

@@ -34,7 +34,7 @@ void handle_syscall(struct uml_pt_regs *r)
result = -ENOSYS;
else result = EXECUTE_SYSCALL(syscall, regs);
REGS_SET_SYSCALL_RETURN(r->gp, result);
UPT_SET_SYSCALL_RETURN(r, result);
syscall_trace(r, 1);
}