Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 174426
b: refs/heads/master
c: 922cc38
h: refs/heads/master
v: v3
  • Loading branch information
Jeremy Fitzhardinge committed Dec 3, 2009
1 parent 55a85a0 commit 416fd2d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 499d19b82b586aef18727b9ae1437f8f37b66e91
refs/heads/master: 922cc38ab71d1360978e65207e4a4f4988987127
7 changes: 3 additions & 4 deletions trunk/drivers/xen/manage.c
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@ static int xen_suspend(void *data)
if (err) {
printk(KERN_ERR "xen_suspend: sysdev_suspend failed: %d\n",
err);
dpm_resume_noirq(PMSG_RESUME);
return err;
}

Expand All @@ -69,7 +68,6 @@ static int xen_suspend(void *data)
}

sysdev_resume();
dpm_resume_noirq(PMSG_RESUME);

return 0;
}
Expand Down Expand Up @@ -108,6 +106,9 @@ static void do_suspend(void)
}

err = stop_machine(xen_suspend, &cancelled, cpumask_of(0));

dpm_resume_noirq(PMSG_RESUME);

if (err) {
printk(KERN_ERR "failed to start xen_suspend: %d\n", err);
goto out;
Expand All @@ -119,8 +120,6 @@ static void do_suspend(void)
} else
xs_suspend_cancel();

dpm_resume_noirq(PMSG_RESUME);

resume_devices:
dpm_resume_end(PMSG_RESUME);

Expand Down

0 comments on commit 416fd2d

Please sign in to comment.