diff options
author | Lai Jiangshan <laijs@cn.fujitsu.com> | 2010-05-26 23:43:36 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2010-05-27 18:12:48 +0200 |
commit | 79a6cdeb7eb54e3d2d4bb9fc5f0231b057882a87 (patch) | |
tree | 2a80342946cf206002ce5dcf32f097320f64fdd1 /include/pcmcia | |
parent | fault-injection: add CPU notifier error injection module (diff) | |
download | linux-79a6cdeb7eb54e3d2d4bb9fc5f0231b057882a87.tar.xz linux-79a6cdeb7eb54e3d2d4bb9fc5f0231b057882a87.zip |
cpuhotplug: do not need cpu_hotplug_begin() when CONFIG_HOTPLUG_CPU=n
Since when CONFIG_HOTPLUG_CPU=n, get_online_cpus() do nothing, so we don't
need cpu_hotplug_begin() either.
This patch moves cpu_hotplug_begin()/cpu_hotplug_done() into the code
block of CONFIG_HOTPLUG_CPU=y.
Signed-off-by: Lai Jiangshan <laijs@cn.fujitsu.com>
Cc: Gautham R Shenoy <ego@in.ibm.com>
Cc: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include/pcmcia')
0 files changed, 0 insertions, 0 deletions