linux/arch
Ashok Raj 34f361ade2 [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 <ashok.raj@intel.com>
Cc: Srivatsa Vaddagiri <vatsa@in.ibm.com>
Cc: "Li, Shaohua" <shaohua.li@intel.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2006-03-25 08:23:01 -08:00
..
alpha [PATCH] remove set_page_count() outside mm/ 2006-03-22 07:54:02 -08:00
arm [PATCH] collie: fix missing pcmcia bits 2006-03-25 08:22:55 -08:00
arm26 [PATCH] remove set_page_count() outside mm/ 2006-03-22 07:54:02 -08:00
cris [PATCH] set_page_dirty() return value fixes 2006-03-24 07:33:26 -08:00
frv [PATCH] s/;;/;/g 2006-03-24 07:33:24 -08:00
h8300 [PATCH] kill include/linux/platform.h, default_idle() cleanup 2006-03-24 07:33:21 -08:00
i386 [PATCH] Check if cpu can be onlined before calling smp_prepare_cpu() 2006-03-25 08:23:01 -08:00
ia64 [PATCH] sys_alarm() unsigned signed conversion fixup 2006-03-25 08:22:48 -08:00
m32r [PATCH] kconfig: clarify memory debug options 2006-03-25 08:22:54 -08:00
m68k [PATCH] kill include/linux/platform.h, default_idle() cleanup 2006-03-24 07:33:21 -08:00
m68knommu [PATCH] kill include/linux/platform.h, default_idle() cleanup 2006-03-24 07:33:21 -08:00
mips [PATCH] sys_alarm() unsigned signed conversion fixup 2006-03-25 08:22:48 -08:00
parisc [PATCH] kill include/linux/platform.h, default_idle() cleanup 2006-03-24 07:33:21 -08:00
powerpc [PATCH] more for_each_cpu() conversions 2006-03-23 07:38:17 -08:00
ppc [PATCH] Remove MODULE_PARM 2006-03-25 08:22:52 -08:00
s390 [PATCH] kill include/linux/platform.h, default_idle() cleanup 2006-03-24 07:33:21 -08:00
sh [PATCH] kill include/linux/platform.h, default_idle() cleanup 2006-03-24 07:33:21 -08:00
sh64 [PATCH] more for_each_cpu() conversions 2006-03-23 07:38:17 -08:00
sparc [PATCH] more for_each_cpu() conversions 2006-03-23 07:38:17 -08:00
sparc64 [PATCH] kconfig: clarify memory debug options 2006-03-25 08:22:54 -08:00
um [PATCH] x86: SMP alternatives 2006-03-23 07:38:04 -08:00
v850 [PATCH] kill include/linux/platform.h, default_idle() cleanup 2006-03-24 07:33:21 -08:00
x86_64 [PATCH] sys_alarm() unsigned signed conversion fixup 2006-03-25 08:22:48 -08:00
xtensa [PATCH] more for_each_cpu() conversions 2006-03-23 07:38:17 -08:00