diff options
| author | Al Viro <viro@zeniv.linux.org.uk> | 2012-09-20 09:28:25 -0400 |
|---|---|---|
| committer | Richard Weinberger <richard@nod.at> | 2012-09-27 18:04:55 +0200 |
| commit | d2ce4e92fa4f79a5fdb4cc912b411280afe21697 (patch) | |
| tree | d7b1cae518d150b30342cef8dfa1a76e82005d25 /arch/x86/um/shared/sysdep/syscalls.h | |
| parent | um: let signal_delivered() do SIGTRAP on singlestepping into handler (diff) | |
| download | linux-d2ce4e92fa4f79a5fdb4cc912b411280afe21697.tar.gz linux-d2ce4e92fa4f79a5fdb4cc912b411280afe21697.zip | |
um: kill thread->forking
we only use that to tell copy_thread() done by syscall from that
done by kernel_thread(). However, it's easier to do simply by
checking PF_KTHREAD in thread flags.
Merge sys_clone() guts for 32bit and 64bit, while we are at it...
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'arch/x86/um/shared/sysdep/syscalls.h')
| -rw-r--r-- | arch/x86/um/shared/sysdep/syscalls.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/x86/um/shared/sysdep/syscalls.h b/arch/x86/um/shared/sysdep/syscalls.h index bd9a89b67e41..ca255a805ed9 100644 --- a/arch/x86/um/shared/sysdep/syscalls.h +++ b/arch/x86/um/shared/sysdep/syscalls.h @@ -1,3 +1,5 @@ +extern long sys_clone(unsigned long clone_flags, unsigned long newsp, + void __user *parent_tid, void __user *child_tid); #ifdef __i386__ #include "syscalls_32.h" #else |
