summaryrefslogtreecommitdiffstats
path: root/drivers/xen/xenfs
diff options
context:
space:
mode:
authorStefano Stabellini2015-11-23 11:36:12 +0100
committerDavid Vrabel2015-12-21 15:40:55 +0100
commitcfafae940381207d48b11a73a211142dba5947d3 (patch)
treeced7aa811e7013fcbc08fa9b2880a1e204425402 /drivers/xen/xenfs
parentxen/arm: account for stolen ticks (diff)
downloadkernel-qcow2-linux-cfafae940381207d48b11a73a211142dba5947d3.tar.gz
kernel-qcow2-linux-cfafae940381207d48b11a73a211142dba5947d3.tar.xz
kernel-qcow2-linux-cfafae940381207d48b11a73a211142dba5947d3.zip
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/xenfs')
-rw-r--r--drivers/xen/xenfs/xensyms.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/xen/xenfs/xensyms.c b/drivers/xen/xenfs/xensyms.c
index f8b12856753f..a03f261b12d8 100644
--- a/drivers/xen/xenfs/xensyms.c
+++ b/drivers/xen/xenfs/xensyms.c
@@ -31,7 +31,7 @@ static int xensyms_next_sym(struct xensyms *xs)
symnum = symdata->symnum;
- ret = HYPERVISOR_dom0_op(&xs->op);
+ ret = HYPERVISOR_platform_op(&xs->op);
if (ret < 0)
return ret;
@@ -50,7 +50,7 @@ static int xensyms_next_sym(struct xensyms *xs)
set_xen_guest_handle(symdata->name, xs->name);
symdata->symnum--; /* Rewind */
- ret = HYPERVISOR_dom0_op(&xs->op);
+ ret = HYPERVISOR_platform_op(&xs->op);
if (ret < 0)
return ret;
}