stop_machine: wean Xen off stop_machine_run
Subsystems (2)
PATCH 1/1 stop_machine: wean Xen off stop_machine_run
This is the last use of (the deprecated) stop_machine_run in the tree.
Signed-off-by Rusty Russell <[email protected]>
drivers/xen/manage.c +1 -1
@@ -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;
Quoted 2 lines · Rusty Russell
This is the last use of (the deprecated)
stop_machine_runin the tree.
OK, thanks.
Quoted 2 lines
Signed-off-by Rusty Russell <[email protected]>
Quoted 13 lines
diff -r
332ec042cb4ddrivers/xen/manage.cdrivers/xen/manage.c +1
-1@@ -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;
Quoted 2 lines · Rusty Russell
This is the last use of (the deprecated)
stop_machine_runin the tree.
OK, thanks.
Quoted 2 lines
Signed-off-by Rusty Russell <[email protected]>
Quoted 13 lines
diff -r
332ec042cb4ddrivers/xen/manage.cdrivers/xen/manage.c +1
-1@@ -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;