d2ce4e92fa
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>
7 lines
207 B
C
7 lines
207 B
C
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
|
|
#include "syscalls_64.h"
|
|
#endif
|