summaryrefslogtreecommitdiff
path: root/drivers/char
diff options
context:
space:
mode:
authorRusty Russell <rusty@rustcorp.com.au>2008-07-28 21:16:30 +0400
committerRusty Russell <rusty@rustcorp.com.au>2008-07-28 06:16:30 +0400
commiteeec4fad963490821348a331cca6102ae1c4a7a3 (patch)
tree163a7d9414d719fccac096d1ba822416f705b397 /drivers/char
parent04321587584272f4e8b9818f319f40caf8eeee13 (diff)
downloadlinux-eeec4fad963490821348a331cca6102ae1c4a7a3.tar.xz
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: Rusty Russell <rusty@rustcorp.com.au>
Diffstat (limited to 'drivers/char')
0 files changed, 0 insertions, 0 deletions