]> git.hungrycats.org Git - linux/commit
[PATCH] sched: cleanup init_idle()
authorNick Piggin <nickpiggin@yahoo.com.au>
Tue, 24 Aug 2004 04:06:56 +0000 (21:06 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Tue, 24 Aug 2004 04:06:56 +0000 (21:06 -0700)
commit70a0b8e7c76a71a401332dd6a2a890f32445615a
tree67d0a3e8767df0118075ef5078e61fd62884066b
parentb2a0e9136df914459cbcf0f072385404f6c4b36d
[PATCH] sched: cleanup init_idle()

Clean up init_idle to not use wake_up_forked_process, then undo all the stuff
that call does.  Instead, do everything in init_idle.

Make double_rq_lock depend on CONFIG_SMP because it is no longer used on UP.

Signed-off-by: Nick Piggin <nickpiggin@yahoo.com.au>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
13 files changed:
arch/alpha/kernel/smp.c
arch/i386/kernel/smpboot.c
arch/i386/mach-voyager/voyager_smp.c
arch/ia64/kernel/smpboot.c
arch/mips/kernel/smp.c
arch/parisc/kernel/smp.c
arch/ppc/kernel/smp.c
arch/ppc64/kernel/smp.c
arch/s390/kernel/smp.c
arch/sh/kernel/smp.c
arch/x86_64/kernel/smpboot.c
init/main.c
kernel/sched.c