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

From: Thomas Gleixner
Date: Mon Oct 29 2018 - 18:36:16 EST


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.

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

tglx