i8k: Avoid lahf in 64-bit code
[linux-2.6.git] / drivers / xen / manage.c
index a2eee57..0b5366b 100644 (file)
@@ -70,12 +70,7 @@ static int xen_suspend(void *data)
 
        BUG_ON(!irqs_disabled());
 
-       err = sysdev_suspend(PMSG_FREEZE);
-       if (!err) {
-               err = syscore_suspend();
-               if (err)
-                       sysdev_resume();
-       }
+       err = syscore_suspend();
        if (err) {
                printk(KERN_ERR "xen_suspend: system core suspend failed: %d\n",
                        err);
@@ -102,7 +97,6 @@ static int xen_suspend(void *data)
        }
 
        syscore_resume();
-       sysdev_resume();
 
        return 0;
 }