stop_machine: reorganize stop_cpus() implementation
authorTejun Heo <tj@kernel.org>
Thu, 23 Jun 2011 18:19:27 +0000 (11:19 -0700)
committerH. Peter Anvin <hpa@linux.intel.com>
Mon, 27 Jun 2011 22:17:07 +0000 (15:17 -0700)
commitfd7355ba1e936487f5aae6fc058c6cb300e44a64
tree1f9292a0e34a14c5e47758d96b17f1d2d398b63a
parent6d3321e8e2b3bf6a5892e2ef673c7bf536e3f904
stop_machine: reorganize stop_cpus() implementation

Refactor the queuing part of the stop cpus work from __stop_cpus() into
queue_stop_cpus_work().

The reorganization is to help future improvements to stop_machine()
and doesn't introduce any behavior difference.

Signed-off-by: Tejun Heo <tj@kernel.org>
Link: http://lkml.kernel.org/r/20110623182056.897818337@sbsiddha-MOBL3.sc.intel.com
Signed-off-by: Suresh Siddha <suresh.b.siddha@intel.com>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
kernel/stop_machine.c