]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
CPU HOTPLUG: avoid hotadd when proper possible_map isn't specified
authorKAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
Fri, 19 Oct 2007 06:40:47 +0000 (23:40 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Fri, 19 Oct 2007 18:53:44 +0000 (11:53 -0700)
commit73e753a50dcac7d6d4fa8b9552203ef544a70d77
tree7e8569cb99f6792bb436a07ec5ea45632b9c4ecf
parent470fd646444c65a5d062a371f5ec8dcedee61239
CPU HOTPLUG: avoid hotadd when proper possible_map isn't specified

cpu-hot-add should be fail if cpu is not set in cpu_possible_map.  If go
ahead, the system will panic soon.

Especially, arch which requires additional_cpus= parameter should handle
this.  Tested on ia64.

[akpm@linux-foundation.org: coding-style fixes]
Signed-off-by: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
kernel/cpu.c