From: Ashok Raj Date: Sat, 25 Mar 2006 11:08:18 +0000 (-0800) Subject: [PATCH] Check if cpu can be onlined before calling smp_prepare_cpu() X-Git-Tag: v2.6.17-rc1~755 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=34f361ade2fb4a869f6a7714d01c04ce4cfa75d9;p=pandora-kernel.git [PATCH] Check if cpu can be onlined before calling smp_prepare_cpu() - Moved check for online cpu out of smp_prepare_cpu() - Moved default declaration of smp_prepare_cpu() to kernel/cpu.c - Removed lock_cpu_hotplug() from smp_prepare_cpu() to around it, since its called from cpu_up() as well now. - Removed clearing from cpu_present_map during cpu_offline as it breaks using cpu_up() directly during a subsequent online operation. Signed-off-by: Ashok Raj Cc: Srivatsa Vaddagiri Cc: "Li, Shaohua" Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed