stop_machine(): stop_machine_run() changed to use cpu mask
authorRusty Russell <rusty@rustcorp.com.au>
Mon, 28 Jul 2008 17:16:30 +0000 (12:16 -0500)
committerRusty Russell <rusty@rustcorp.com.au>
Mon, 28 Jul 2008 02:16:30 +0000 (12:16 +1000)
Instead of a "cpu" arg with magic values NR_CPUS (any cpu) and ~0 (all
cpus), pass a cpumask_t.  Allow NULL for the common case (where we
don't care which CPU the function is run on): temporary cpumask_t's
are usually considered bad for stack space.

This deprecates stop_machine_run, to be removed soon when all the
callers are dead.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>

No differences found