aboutsummaryrefslogtreecommitdiffstats
path: root/unmodified_drivers/linux-2.6/platform-pci/machine_reboot.c
diff options
context:
space:
mode:
authorKeir Fraser <keir.fraser@citrix.com>2008-01-23 15:42:52 +0000
committerKeir Fraser <keir.fraser@citrix.com>2008-01-23 15:42:52 +0000
commit44a4d5301519c12f77b9eefe1b8060f28983f2d0 (patch)
tree92f67716ca91e82fdcb80c737ed5b72050c9f064 /unmodified_drivers/linux-2.6/platform-pci/machine_reboot.c
parent52e877db6815b8dfd0046b323195e63990cc57d4 (diff)
downloadxen-44a4d5301519c12f77b9eefe1b8060f28983f2d0.tar.gz
xen-44a4d5301519c12f77b9eefe1b8060f28983f2d0.tar.bz2
xen-44a4d5301519c12f77b9eefe1b8060f28983f2d0.zip
pv-on-hvm: Fix up linux code after hypercall-type-checking changes.
Signed-off-by: Jan Beulich <jbeulich@novell.com>
Diffstat (limited to 'unmodified_drivers/linux-2.6/platform-pci/machine_reboot.c')
-rw-r--r--unmodified_drivers/linux-2.6/platform-pci/machine_reboot.c2
1 files changed, 1 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 cb8cded198..f1f5a4558d 100644
--- a/unmodified_drivers/linux-2.6/platform-pci/machine_reboot.c
+++ b/unmodified_drivers/linux-2.6/platform-pci/machine_reboot.c
@@ -58,7 +58,7 @@ static int bp_suspend(void)
BUG_ON(!irqs_disabled());
- suspend_cancelled = HYPERVISOR_shutdown(SHUTDOWN_suspend);
+ suspend_cancelled = HYPERVISOR_suspend(0);
if (!suspend_cancelled) {
write_lock(&suspend_lock);