]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
[PATCH] x86: check for online cpus before bringing them up
authorSrivatsa Vaddagiri <vatsa@in.ibm.com>
Fri, 17 Mar 2006 07:04:06 +0000 (23:04 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Fri, 17 Mar 2006 15:51:25 +0000 (07:51 -0800)
commit82c3c03a4096badd026c6e337f3c5dde020e9ec6
treed22aa75410eb3b2bc7865f6dc6ce6c111c103bc9
parent8532159f5521ba24e697f0d25970ae89ff62a1f2
[PATCH] x86: check for online cpus before bringing them up

Bryce reported a bug wherein offlining CPU0 (on x86 box) and then
subsequently onlining it resulted in a lockup.

On x86, CPU0 is never offlined.  The subsequent attempt to online CPU0
doesn't take that into account.  It actually tries to bootup the already
booted CPU.  Following patch fixes the problem (as acknowledged by Bryce).
Please consider for inclusion in 2.6.16.

Check if cpu is already online.

Signed-off-by: Srivatsa Vaddagiri <vatsa@in.ibm.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/i386/kernel/smpboot.c