Skip to content

Commit

Permalink
stop_machine: wean Xen off stop_machine_run
Browse files Browse the repository at this point in the history
This is the last use of (the deprecated) stop_machine_run in the tree.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Acked-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
  • Loading branch information
Rusty Russell committed Aug 25, 2008
1 parent 532a608 commit 37a7c0f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/xen/manage.c
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ static void do_suspend(void)
/* XXX use normal device tree? */
xenbus_suspend();

err = stop_machine_run(xen_suspend, &cancelled, 0);
err = stop_machine(xen_suspend, &cancelled, &cpumask_of_cpu(0));
if (err) {
printk(KERN_ERR "failed to start xen_suspend: %d\n", err);
goto out;
Expand Down

0 comments on commit 37a7c0f

Please sign in to comment.