linux/kernel/power
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
..
console.c [PATCH] Fix build failure in recent pm_prepare_* changes. 2006-02-07 16:12:33 -08:00
disk.c [PATCH] swsusp: freeze user space processes first 2006-03-23 07:38:08 -08:00
Kconfig SOFTWARE_SUSPEND: fix a typo in the dependencies 2006-01-15 02:01:39 +01:00
main.c [PATCH] swsusp: add s2ram ioctl to userland interface 2006-03-23 07:38:08 -08:00
Makefile [PATCH] swsusp: userland interface 2006-03-23 07:38:07 -08:00
pm.c [PATCH] sem2mutex: kernel/ 2006-03-23 07:38:10 -08:00
power.h [PATCH] swsusp: add s2ram ioctl to userland interface 2006-03-23 07:38:08 -08:00
poweroff.c [PATCH] Use kernel_power_off in sysrq-o 2005-07-26 14:35:43 -07:00
process.c [PATCH] swsusp: freeze user space processes first 2006-03-23 07:38:08 -08:00
smp.c [PATCH] Check if cpu can be onlined before calling smp_prepare_cpu() 2006-03-25 08:23:01 -08:00
snapshot.c [PATCH] swsusp: drain high mem pages 2006-03-23 07:38:08 -08:00
swap.c [PATCH] swsusp: separate swap-writing/reading code 2006-03-23 07:38:07 -08:00
swsusp.c [PATCH] swsusp: separate swap-writing/reading code 2006-03-23 07:38:07 -08:00
user.c [PATCH] swsusp: add s2ram ioctl to userland interface 2006-03-23 07:38:08 -08:00