lkml.org 
[lkml]   [2018]   [Oct]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: [PATCH RFC v1 3/8] timer: Export next wakeup time of a CPU
On 29 October 2018 at 23:36, Thomas Gleixner <tglx@linutronix.de> wrote:
> Raju,
>
> On Thu, 11 Oct 2018, Raju P.L.S.S.S.N wrote:
>>
>> +/**
>> + * 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!

>
>> + */
>> +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

\
 
 \ /
  Last update: 2018-10-30 11:31    [W:0.057 / U:6.120 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site