mirror of
https://github.com/torvalds/linux.git
synced 2024-11-07 12:41:55 +00:00
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>
8 lines
207 B
C
8 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
|