ANDROID: tick/nohz: export tick_nohz_get_sleep_length()
Export tick_nohz_get_sleep_length() so idle drivers may use this to determine the available idle time before the next timer wakeup. Bug: 169136276 Signed-off-by: Lina Iyer <ilina@codeaurora.org> Change-Id: I0d18638d63c032862ae048bc2c3d49fa1bd90291
This commit is contained in:
parent
96c860fcf4
commit
4de53aef65
1 changed files with 1 additions and 0 deletions
|
|
@ -1117,6 +1117,7 @@ ktime_t tick_nohz_get_sleep_length(ktime_t *delta_next)
|
|||
|
||||
return ktime_sub(next_event, now);
|
||||
}
|
||||
EXPORT_SYMBOL_GPL(tick_nohz_get_sleep_length);
|
||||
|
||||
/**
|
||||
* tick_nohz_get_idle_calls_cpu - return the current idle calls counter value
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue