Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 37a7c0f3 authored by Rusty Russell's avatar Rusty Russell
Browse files

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: default avatarRusty Russell <rusty@rustcorp.com.au>
Acked-by: default avatarJeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
parent 532a6086
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -102,7 +102,7 @@ static void do_suspend(void)
	/* XXX use normal device tree? */
	/* XXX use normal device tree? */
	xenbus_suspend();
	xenbus_suspend();


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