sched: Mark boot-cpu active before smp_init()
authorPeter Zijlstra <a.p.zijlstra@chello.nl>
Wed, 16 Dec 2009 17:04:31 +0000 (18:04 +0100)
committerIngo Molnar <mingo@elte.hu>
Wed, 16 Dec 2009 18:01:53 +0000 (19:01 +0100)
commit933b0618d8b2a59c7a0742e43836544e02f1e9bd
tree2d315a2d365fc27a9b43976940a963295e434ac4
parentee1156c11a1121e118b0a7f2dec240f0d421b1fd
sched: Mark boot-cpu active before smp_init()

A UP machine has 1 active cpu, not having the boot-cpu in the
active map when starting the scheduler confuses things.

Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Mike Galbraith <efault@gmx.de>
LKML-Reference: <20091216170517.423469527@chello.nl>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
init/main.c