diff options
author | Keir Fraser <keir.fraser@citrix.com> | 2008-02-29 10:30:28 +0000 |
---|---|---|
committer | Keir Fraser <keir.fraser@citrix.com> | 2008-02-29 10:30:28 +0000 |
commit | 0c7eb268123c28ea811b365c94abded0d817d1f0 (patch) | |
tree | dd33d1aaa3c6bda348daa820575d21975f0a5404 /unmodified_drivers | |
parent | 316e514ab5f05fc1a0e333d460e31f686c7e826a (diff) | |
download | xen-0c7eb268123c28ea811b365c94abded0d817d1f0.tar.gz xen-0c7eb268123c28ea811b365c94abded0d817d1f0.tar.bz2 xen-0c7eb268123c28ea811b365c94abded0d817d1f0.zip |
PV-on-HVM: Fix __xen_suspend() for changed XenLinux interface.
Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
Diffstat (limited to 'unmodified_drivers')
-rw-r--r-- | unmodified_drivers/linux-2.6/platform-pci/machine_reboot.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/unmodified_drivers/linux-2.6/platform-pci/machine_reboot.c b/unmodified_drivers/linux-2.6/platform-pci/machine_reboot.c index f1f5a4558d..5517039bd8 100644 --- a/unmodified_drivers/linux-2.6/platform-pci/machine_reboot.c +++ b/unmodified_drivers/linux-2.6/platform-pci/machine_reboot.c @@ -71,7 +71,7 @@ static int bp_suspend(void) return suspend_cancelled; } -int __xen_suspend(int fast_suspend) +int __xen_suspend(int fast_suspend, void (*resume_notifier)(void)) { int err, suspend_cancelled, nr_cpus; struct ap_suspend_info info; @@ -101,6 +101,7 @@ int __xen_suspend(int fast_suspend) local_irq_disable(); suspend_cancelled = bp_suspend(); + resume_notifier(); local_irq_enable(); smp_mb(); |