diff options
| author | Rusty Russell <rusty@rustcorp.com.au> | 2008-08-26 01:19:26 -0400 |
|---|---|---|
| committer | Rusty Russell <rusty@rustcorp.com.au> | 2008-08-25 10:19:27 -0400 |
| commit | 37a7c0f3e3e808b8d24f2187a25d2de39e46d822 (patch) | |
| tree | 38f3e690557de0b75515f944d5ab574403f223da /drivers/xen | |
| parent | 532a6086e35fa3b5761e68af36d4e42a550eba15 (diff) | |
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 <rusty@rustcorp.com.au>
Acked-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
Diffstat (limited to 'drivers/xen')
| -rw-r--r-- | drivers/xen/manage.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/xen/manage.c b/drivers/xen/manage.c index a5bc91ae6ff6..d0e87cbe157c 100644 --- a/drivers/xen/manage.c +++ b/drivers/xen/manage.c | |||
| @@ -102,7 +102,7 @@ static void do_suspend(void) | |||
| 102 | /* XXX use normal device tree? */ | 102 | /* XXX use normal device tree? */ |
| 103 | xenbus_suspend(); | 103 | xenbus_suspend(); |
| 104 | 104 | ||
| 105 | err = stop_machine_run(xen_suspend, &cancelled, 0); | 105 | err = stop_machine(xen_suspend, &cancelled, &cpumask_of_cpu(0)); |
| 106 | if (err) { | 106 | if (err) { |
| 107 | printk(KERN_ERR "failed to start xen_suspend: %d\n", err); | 107 | printk(KERN_ERR "failed to start xen_suspend: %d\n", err); |
| 108 | goto out; | 108 | goto out; |
