[PATCH] Hotplug CPU prep
authorRusty Russell <rusty@rustcorp.com.au>
Mon, 13 May 2002 06:52:31 +0000 (23:52 -0700)
committerDavid Woodhouse <dwmw2@infradead.org>
Mon, 13 May 2002 06:52:31 +0000 (23:52 -0700)
commit27568369be8ce189a1bd32c80497ff229ed3de3a
tree79680bec95707de6e830cf9b59941bf6a37e2e60
parent5e8a4a7d95318e8cf84e59dfb5659d178240f879
[PATCH] Hotplug CPU prep

This changes do_fork() to return the task struct, rather than the PID.

Also changes CLONE_PID ("if my pid is 0, copy it") to CLONE_IDLETASK
("set child's pid to zero"), and disallows access to the flag from user
mode.
36 files changed:
arch/alpha/kernel/process.c
arch/alpha/kernel/smp.c
arch/arm/kernel/sys_arm.c
arch/cris/kernel/process.c
arch/i386/kernel/process.c
arch/i386/kernel/smpboot.c
arch/ia64/ia32/ia32_entry.S
arch/ia64/kernel/entry.S
arch/ia64/kernel/smpboot.c
arch/m68k/kernel/process.c
arch/mips/kernel/smp.c
arch/mips/kernel/syscall.c
arch/mips64/kernel/syscall.c
arch/mips64/sgi-ip27/ip27-init.c
arch/parisc/kernel/entry.S
arch/parisc/kernel/process.c
arch/ppc/kernel/process.c
arch/ppc/kernel/smp.c
arch/ppc64/kernel/process.c
arch/ppc64/kernel/smp.c
arch/s390/kernel/process.c
arch/s390/kernel/smp.c
arch/s390x/kernel/process.c
arch/s390x/kernel/smp.c
arch/sh/kernel/process.c
arch/sparc/kernel/entry.S
arch/sparc/kernel/sun4d_smp.c
arch/sparc/kernel/sun4m_smp.c
arch/sparc64/kernel/entry.S
arch/sparc64/kernel/smp.c
arch/x86_64/ia32/sys_ia32.c
arch/x86_64/kernel/entry.S
arch/x86_64/kernel/process.c
arch/x86_64/kernel/smpboot.c
include/linux/sched.h
kernel/fork.c