This is the last use of (the deprecated) stop_machine_run in the tree. Signed-off-by: Rusty Russell <rusty at rustcorp.com.au> diff -r 332ec042cb4d drivers/xen/manage.c --- a/drivers/xen/manage.c Wed Aug 13 10:48:27 2008 +1000 +++ b/drivers/xen/manage.c Wed Aug 13 15:50:02 2008 +1000 @@ -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;
Jeremy Fitzhardinge
2008-Aug-13 05:57 UTC
[PATCH] stop_machine: wean Xen off stop_machine_run
Rusty Russell wrote:> This is the last use of (the deprecated) stop_machine_run in the tree. >OK, thanks.> Signed-off-by: Rusty Russell <rusty at rustcorp.com.au> >Acked-by: Jeremy Fitzhardinge <jeremy.fitzhardinge at citrix.com>> diff -r 332ec042cb4d drivers/xen/manage.c > --- a/drivers/xen/manage.c Wed Aug 13 10:48:27 2008 +1000 > +++ b/drivers/xen/manage.c Wed Aug 13 15:50:02 2008 +1000 > @@ -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; >