summaryrefslogtreecommitdiff
path: root/drivers/xen/acpi.c
diff options
context:
space:
mode:
authorStefano Stabellini <stefano.stabellini@eu.citrix.com>2015-11-23 10:36:12 +0000
committerDavid Vrabel <david.vrabel@citrix.com>2015-12-21 14:40:55 +0000
commitcfafae940381207d48b11a73a211142dba5947d3 (patch)
treeced7aa811e7013fcbc08fa9b2880a1e204425402 /drivers/xen/acpi.c
parent34e38523d586ae1e838241d44c8a2e9a1c9e0b43 (diff)
xen: rename dom0_op to platform_op
The dom0_op hypercall has been renamed to platform_op since Xen 3.2, which is ancient, and modern upstream Linux kernels cannot run as dom0 and it anymore anyway. Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com> Reviewed-by: Boris Ostrovsky <boris.ostrovsky@oracle.com>
Diffstat (limited to 'drivers/xen/acpi.c')
-rw-r--r--drivers/xen/acpi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/xen/acpi.c b/drivers/xen/acpi.c
index 90307c0b630c..6893c79fd2a1 100644
--- a/drivers/xen/acpi.c
+++ b/drivers/xen/acpi.c
@@ -58,7 +58,7 @@ static int xen_acpi_notify_hypervisor_state(u8 sleep_state,
bits, val_a, val_b))
return -1;
- HYPERVISOR_dom0_op(&op);
+ HYPERVISOR_platform_op(&op);
return 1;
}