diff options
author | Stefano Stabellini <stefano.stabellini@eu.citrix.com> | 2015-11-23 10:36:12 +0000 |
---|---|---|
committer | David Vrabel <david.vrabel@citrix.com> | 2015-12-21 14:40:55 +0000 |
commit | cfafae940381207d48b11a73a211142dba5947d3 (patch) | |
tree | ced7aa811e7013fcbc08fa9b2880a1e204425402 /arch/x86/xen/time.c | |
parent | 34e38523d586ae1e838241d44c8a2e9a1c9e0b43 (diff) | |
download | talos-op-linux-cfafae940381207d48b11a73a211142dba5947d3.tar.gz talos-op-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 'arch/x86/xen/time.c')
-rw-r--r-- | arch/x86/xen/time.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/xen/time.c b/arch/x86/xen/time.c index 041d4cda3939..663c2ea449c7 100644 --- a/arch/x86/xen/time.c +++ b/arch/x86/xen/time.c @@ -139,7 +139,7 @@ static int xen_pvclock_gtod_notify(struct notifier_block *nb, op.u.settime.nsecs = now.tv_nsec; op.u.settime.system_time = xen_clocksource_read(); - (void)HYPERVISOR_dom0_op(&op); + (void)HYPERVISOR_platform_op(&op); /* * Move the next drift compensation time 11 minutes |