summaryrefslogtreecommitdiffstats
path: root/kernel/drivers/xen/manage.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/drivers/xen/manage.c')
-rw-r--r--kernel/drivers/xen/manage.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/kernel/drivers/xen/manage.c b/kernel/drivers/xen/manage.c
index 9e6a85104..e12bd3635 100644
--- a/kernel/drivers/xen/manage.c
+++ b/kernel/drivers/xen/manage.c
@@ -19,10 +19,10 @@
#include <xen/grant_table.h>
#include <xen/events.h>
#include <xen/hvc-console.h>
+#include <xen/page.h>
#include <xen/xen-ops.h>
#include <asm/xen/hypercall.h>
-#include <asm/xen/page.h>
#include <asm/xen/hypervisor.h>
enum shutdown_state {
@@ -80,7 +80,7 @@ static int xen_suspend(void *data)
* is resuming in a new domain.
*/
si->cancelled = HYPERVISOR_suspend(xen_pv_domain()
- ? virt_to_mfn(xen_start_info)
+ ? virt_to_gfn(xen_start_info)
: 0);
xen_arch_post_suspend(si->cancelled);