diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2012-09-20 15:28:25 +0200 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2012-09-20 16:49:09 +0200 |
commit | a4d94ff8aa864c05b33c2de1f8c5d0176d7a4b63 (patch) | |
tree | 5edabf2ba151a15240d663fcde44a15d98c9572d /arch/um/include | |
parent | um: let signal_delivered() do SIGTRAP on singlestepping into handler (diff) | |
download | linux-a4d94ff8aa864c05b33c2de1f8c5d0176d7a4b63.tar.xz linux-a4d94ff8aa864c05b33c2de1f8c5d0176d7a4b63.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/um/include')
-rw-r--r-- | arch/um/include/asm/processor-generic.h | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/arch/um/include/asm/processor-generic.h b/arch/um/include/asm/processor-generic.h index 69f1c57a8d0d..33a6a2423bd2 100644 --- a/arch/um/include/asm/processor-generic.h +++ b/arch/um/include/asm/processor-generic.h @@ -20,14 +20,6 @@ struct mm_struct; struct thread_struct { struct task_struct *saved_task; - /* - * This flag is set to 1 before calling do_fork (and analyzed in - * copy_thread) to mark that we are begin called from userspace (fork / - * vfork / clone), and reset to 0 after. It is left to 0 when called - * from kernelspace (i.e. kernel_thread() or fork_idle(), - * as of 2.6.11). - */ - int forking; struct pt_regs regs; int singlestep_syscall; void *fault_addr; @@ -58,7 +50,6 @@ struct thread_struct { #define INIT_THREAD \ { \ - .forking = 0, \ .regs = EMPTY_REGS, \ .fault_addr = NULL, \ .prev_sched = NULL, \ |