diff options
author | Stefano Stabellini <stefano.stabellini@eu.citrix.com> | 2015-11-23 05:36:12 -0500 |
---|---|---|
committer | David Vrabel <david.vrabel@citrix.com> | 2015-12-21 09:40:55 -0500 |
commit | cfafae940381207d48b11a73a211142dba5947d3 (patch) | |
tree | ced7aa811e7013fcbc08fa9b2880a1e204425402 /drivers/xen/xenfs | |
parent | 34e38523d586ae1e838241d44c8a2e9a1c9e0b43 (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/xenfs')
-rw-r--r-- | drivers/xen/xenfs/xensyms.c | 4 |
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) | |||
31 | 31 | ||
32 | symnum = symdata->symnum; | 32 | symnum = symdata->symnum; |
33 | 33 | ||
34 | ret = HYPERVISOR_dom0_op(&xs->op); | 34 | ret = HYPERVISOR_platform_op(&xs->op); |
35 | if (ret < 0) | 35 | if (ret < 0) |
36 | return ret; | 36 | return ret; |
37 | 37 | ||
@@ -50,7 +50,7 @@ static int xensyms_next_sym(struct xensyms *xs) | |||
50 | set_xen_guest_handle(symdata->name, xs->name); | 50 | set_xen_guest_handle(symdata->name, xs->name); |
51 | symdata->symnum--; /* Rewind */ | 51 | symdata->symnum--; /* Rewind */ |
52 | 52 | ||
53 | ret = HYPERVISOR_dom0_op(&xs->op); | 53 | ret = HYPERVISOR_platform_op(&xs->op); |
54 | if (ret < 0) | 54 | if (ret < 0) |
55 | return ret; | 55 | return ret; |
56 | } | 56 | } |