]> git.hungrycats.org Git - linux/commit
PPC32: Add a thread-pointer argument to the clone syscall, make a prepare_to_copy().
authorPaul Mackerras <paulus@samba.org>
Thu, 13 Mar 2003 09:28:56 +0000 (20:28 +1100)
committerPaul Mackerras <paulus@samba.org>
Thu, 13 Mar 2003 09:28:56 +0000 (20:28 +1100)
commit1094cc5c29b78814775d039b5a38425d58b09d81
tree480805608ad8d1dd7941b9fa85f28a9d4e7839ab
parentcd9a1f5f2aeabee7645fa56a2ecca5bd0465ddc9
PPC32: Add a thread-pointer argument to the clone syscall, make a prepare_to_copy().

The thread-pointer argument gets copied to R2 in the child in copy_thread() if
the CLONE_SETTLS flag is set.  Adding a prepare_to_copy simplifies the copy_thread
logic since we don't have to do the extra copy of fpu/altivec state to the child.
arch/ppc/kernel/process.c
include/asm-ppc/processor.h