projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
clockevents: fix resume logic
[firefly-linux-kernel-4.4.55.git]
/
arch
/
i386
/
xen
/
time.c
diff --git
a/arch/i386/xen/time.c
b/arch/i386/xen/time.c
index 51fdabf1fd4dd813645737cbab05c6894227d0ae..dfd6db69ead5072dd5a7430ad4750285d44d7031 100644
(file)
--- a/
arch/i386/xen/time.c
+++ b/
arch/i386/xen/time.c
@@
-412,6
+412,7
@@
static void xen_timerop_set_mode(enum clock_event_mode mode,
break;
case CLOCK_EVT_MODE_ONESHOT:
+ case CLOCK_EVT_MODE_RESUME:
break;
case CLOCK_EVT_MODE_UNUSED:
@@
-474,6
+475,8
@@
static void xen_vcpuop_set_mode(enum clock_event_mode mode,
HYPERVISOR_vcpu_op(VCPUOP_stop_periodic_timer, cpu, NULL))
BUG();
break;
+ case CLOCK_EVT_MODE_RESUME:
+ break;
}
}