mirror of
https://github.com/Fishwaldo/linux-bl808.git
synced 2025-06-17 20:25:19 +00:00
timekeeping: rename timekeeping_is_continuous to timekeeping_valid_for_hres
Function timekeeping_is_continuous() no longer checks flag CLOCK_IS_CONTINUOUS, and it checks CLOCK_SOURCE_VALID_FOR_HRES now. So rename the function accordingly. Signed-off-by: Li Zefan <lizf@cn.fujitsu.com> Cc: Thomas Gleixner <tglx@linutronix.de> Cc: Ingo Molnar <mingo@elte.hu> Cc: john stultz <johnstul@us.ibm.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
parent
0b858e6ff9
commit
cf4fc6cb76
3 changed files with 4 additions and 4 deletions
|
@ -681,7 +681,7 @@ int tick_check_oneshot_change(int allow_nohz)
|
|||
if (ts->nohz_mode != NOHZ_MODE_INACTIVE)
|
||||
return 0;
|
||||
|
||||
if (!timekeeping_is_continuous() || !tick_is_oneshot_available())
|
||||
if (!timekeeping_valid_for_hres() || !tick_is_oneshot_available())
|
||||
return 0;
|
||||
|
||||
if (!allow_nohz)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue