Skip to content
Commit eeec4fad authored by Rusty Russell's avatar Rusty Russell
Browse files

stop_machine(): stop_machine_run() changed to use cpu mask



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: default avatarRusty Russell <rusty@rustcorp.com.au>
parent 04321587
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment