projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3d8765d
)
xen/time: Return -ENODEV from xen_get_wallclock()
author
Boris Ostrovsky
<boris.ostrovsky@oracle.com>
Thu, 2 Nov 2017 22:18:03 +0000
(18:18 -0400)
committer
Boris Ostrovsky
<boris.ostrovsky@oracle.com>
Fri, 3 Nov 2017 15:37:51 +0000
(11:37 -0400)
For any other error sync_cmos_clock() will reschedule itself
every second or so, for no good reason.
Suggested-by: Paolo Bonzini <pbonzini@redhat.com>
Reviewed-by: Juergen Gross <jgross@suse.com>
Signed-off-by: Boris Ostrovsky <boris.ostrovsky@oracle.com>
arch/x86/xen/time.c
patch
|
blob
|
history
diff --git
a/arch/x86/xen/time.c
b/arch/x86/xen/time.c
index 1ecb05db363203ec004f0e3c6764ca5f448fbc78..244791ff8201570d436ff04c351398fe39c7fc8a 100644
(file)
--- a/
arch/x86/xen/time.c
+++ b/
arch/x86/xen/time.c
@@
-74,7
+74,7
@@
static void xen_get_wallclock(struct timespec *now)
static int xen_set_wallclock(const struct timespec *now)
{
- return -
1
;
+ return -
ENODEV
;
}
static int xen_pvclock_gtod_notify(struct notifier_block *nb,