1
linux/drivers/base
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
..
power [PATCH] swsusp: add check for suspension of X-controlled devices 2006-03-23 07:38:08 -08:00
attribute_container.c [PATCH] drivers/base - fix sparse warnings 2005-10-28 09:52:55 -07:00
base.h [PATCH] drivers/base/: proper prototypes 2006-02-06 12:17:17 -08:00
bus.c [SCSI] drivers/base/bus.c - export reprobe 2006-03-14 12:50:44 -06:00
class.c [PATCH] driver core: replace "hotplug" by "uevent" 2006-01-04 16:18:08 -08:00
core.c [PATCH] DocBook: fix kernel-doc comments 2006-01-10 08:01:53 -08:00
cpu.c [PATCH] Check if cpu can be onlined before calling smp_prepare_cpu() 2006-03-25 08:23:01 -08:00
dd.c [PATCH] Add bus_type probe, remove, shutdown methods. 2006-01-13 11:26:04 -08:00
dmapool.c [PATCH] gfp flags annotations - part 1 2005-10-08 15:00:57 -07:00
driver.c [PATCH] Add bus_type probe, remove, shutdown methods. 2006-01-13 11:26:04 -08:00
firmware_class.c [PATCH] firmware: fix BUG: in fw_realloc_buffer 2006-03-20 13:42:58 -08:00
firmware.c [PATCH] drivers/base - fix sparse warnings 2005-10-28 09:52:55 -07:00
init.c [PATCH] memory hotplug: sysfs and add/remove functions 2005-10-29 21:40:44 -07:00
Kconfig [PATCH] driver core: replace "hotplug" by "uevent" 2006-01-04 16:18:08 -08:00
Makefile [PATCH] Export cpu topology in sysfs 2006-02-03 08:32:09 -08:00
map.c [PATCH] kobj_map semaphore to mutex conversion 2006-03-20 13:42:58 -08:00
memory.c [PATCH] fix __user annotations in drivers/base/memory.c 2006-02-07 20:58:04 -05:00
node.c [PATCH] VM: add page_state info to per-node meminfo 2005-09-05 00:05:49 -07:00
platform.c Fix "frist", "fisrt", typos 2006-03-22 00:21:33 +01:00
sys.c [PATCH] drivers/base/: proper prototypes 2006-02-06 12:17:17 -08:00
topology.c [PATCH] Export cpu topology in sysfs 2006-02-03 08:32:09 -08:00
transport_class.c [SCSI] fix transport class corner case after rework 2005-08-28 11:14:06 -05:00