diff options
author | Stefano Stabellini <stefano.stabellini@eu.citrix.com> | 2015-11-23 13:38:12 +0300 |
---|---|---|
committer | David Vrabel <david.vrabel@citrix.com> | 2015-12-21 17:40:57 +0300 |
commit | f3d6027ee0568b5442077120beeb5d9d17c2d0da (patch) | |
tree | 576019b9823a1b0492e7e0acb79dee78d1644ea9 /arch/x86/xen/time.c | |
parent | 72d39c691b4269c95547245562bfde8504432407 (diff) | |
download | linux-f3d6027ee0568b5442077120beeb5d9d17c2d0da.tar.xz |
xen: introduce XENPF_settime64
Rename the current XENPF_settime hypercall and related struct to
XENPF_settime32.
Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Reviewed-by: Boris Ostrovsky <boris.ostrovsky@oracle.com>
Diffstat (limited to 'arch/x86/xen/time.c')
-rw-r--r-- | arch/x86/xen/time.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/arch/x86/xen/time.c b/arch/x86/xen/time.c index 663c2ea449c7..3bbd377e1657 100644 --- a/arch/x86/xen/time.c +++ b/arch/x86/xen/time.c @@ -134,10 +134,10 @@ static int xen_pvclock_gtod_notify(struct notifier_block *nb, if (!was_set && timespec_compare(&now, &next_sync) < 0) return NOTIFY_OK; - op.cmd = XENPF_settime; - op.u.settime.secs = now.tv_sec; - op.u.settime.nsecs = now.tv_nsec; - op.u.settime.system_time = xen_clocksource_read(); + op.cmd = XENPF_settime32; + op.u.settime32.secs = now.tv_sec; + op.u.settime32.nsecs = now.tv_nsec; + op.u.settime32.system_time = xen_clocksource_read(); (void)HYPERVISOR_platform_op(&op); |