lkml.org 
[lkml]   [2018]   [Apr]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH v9 09/10] cpuidle: menu: Refine idle state selection for running tick
On Wed, Apr 04, 2018 at 10:49:34AM +0200, Rafael J. Wysocki wrote:
> -static inline ktime_t tick_nohz_get_sleep_length(void)
> +static inline ktime_t tick_nohz_get_sleep_length(ktime_t *delta_next)
> {
> - return NSEC_PER_SEC / HZ;
> + *delta_next = NSEC_PER_SEC / HZ;
> + return *delta_next;

Shouldn't that be TICK_NSEC ?

\
 
 \ /
  Last update: 2018-04-05 14:28    [W:0.305 / U:6.876 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site