Thread (43 messages) 43 messages, 7 authors, 2018-10-30

Re: [PATCH RFC v1 3/8] timer: Export next wakeup time of a CPU

From: Ulf Hansson <hidden>
Date: 2018-10-30 10:30:13
Also in: linux-arm-msm, linux-pm, lkml

On 29 October 2018 at 23:36, Thomas Gleixner [off-list ref] wrote:
Raju,

On Thu, 11 Oct 2018, Raju P.L.S.S.S.N wrote:
quoted
+/**
+ * tick_nohz_get_next_wakeup - return the next wake up of the CPU
Lacks documentation of @cpu. Please include kernel docs into your test
builds.
Good point!
quoted
+ */
+ktime_t tick_nohz_get_next_wakeup(int cpu)
+{
+     struct clock_event_device *dev = per_cpu(tick_cpu_device.evtdev, cpu);
+
+     return dev->next_event;
+}
Thanks for your review!

Kind regards
Uffe
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help