]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commitdiff
stop_machine: wean Xen off stop_machine_run
authorRusty Russell <rusty@rustcorp.com.au>
Tue, 26 Aug 2008 05:19:26 +0000 (00:19 -0500)
committerRusty Russell <rusty@rustcorp.com.au>
Mon, 25 Aug 2008 14:19:27 +0000 (00:19 +1000)
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>
drivers/xen/manage.c

index a5bc91ae6ff69f5d5d4b2e9f49e308acd9126b20..d0e87cbe157ca5e4634151f8d997e9d66fb66ebc 100644 (file)
@@ -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;