[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen-unstable] PV-on-HVM: Fix __xen_suspend() for changed XenLinux interface.



# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1204281028 0
# Node ID 9049b0b62e0891e9bfb188bef40f68c04b5ea653
# Parent  8271e126882896b09411527fa1e3492698cbeb57
PV-on-HVM: Fix __xen_suspend() for changed XenLinux interface.
Signed-off-by: Keir Fraser <keir.fraser@xxxxxxxxxx>
---
 unmodified_drivers/linux-2.6/platform-pci/machine_reboot.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletion(-)

diff -r 8271e1268828 -r 9049b0b62e08 
unmodified_drivers/linux-2.6/platform-pci/machine_reboot.c
--- a/unmodified_drivers/linux-2.6/platform-pci/machine_reboot.c        Thu Feb 
28 16:02:44 2008 +0000
+++ b/unmodified_drivers/linux-2.6/platform-pci/machine_reboot.c        Fri Feb 
29 10:30:28 2008 +0000
@@ -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();

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.