Commit 6f16eebe1ff82176339a0439c98ebec9768b0ee2
1 parent
e90c83f757
Exists in
master
and in
20 other branches
timekeeping: Switch HAS_PERSISTENT_CLOCK to ALWAYS_USE_PERSISTENT_CLOCK
Jason pointed out the HAS_PERSISTENT_CLOCK name isn't quite accurate for the config, as some systems may have the persistent_clock in some cases, but not always. So change the config name to the more clear ALWAYS_USE_PERSISTENT_CLOCK. Signed-off-by: John Stultz <john.stultz@linaro.org>
Showing 4 changed files with 5 additions and 5 deletions Side-by-side Diff
arch/x86/Kconfig
... | ... | @@ -108,7 +108,7 @@ |
108 | 108 | select GENERIC_STRNLEN_USER |
109 | 109 | select HAVE_RCU_USER_QS if X86_64 |
110 | 110 | select HAVE_IRQ_TIME_ACCOUNTING |
111 | - select HAS_PERSISTENT_CLOCK | |
111 | + select ALWAYS_USE_PERSISTENT_CLOCK | |
112 | 112 | select GENERIC_KERNEL_THREAD |
113 | 113 | select GENERIC_KERNEL_EXECVE |
114 | 114 | select MODULES_USE_ELF_REL if X86_32 |
drivers/rtc/Kconfig
... | ... | @@ -20,7 +20,7 @@ |
20 | 20 | config RTC_HCTOSYS |
21 | 21 | bool "Set system time from RTC on startup and resume" |
22 | 22 | default y |
23 | - depends on !HAS_PERSISTENT_CLOCK | |
23 | + depends on !ALWAYS_USE_PERSISTENT_CLOCK | |
24 | 24 | help |
25 | 25 | If you say yes here, the system time (wall clock) will be set using |
26 | 26 | the value read from a specified RTC device. This is useful to avoid |
... | ... | @@ -29,7 +29,7 @@ |
29 | 29 | config RTC_SYSTOHC |
30 | 30 | bool "Set the RTC time based on NTP synchronization" |
31 | 31 | default y |
32 | - depends on !HAS_PERSISTENT_CLOCK | |
32 | + depends on !ALWAYS_USE_PERSISTENT_CLOCK | |
33 | 33 | help |
34 | 34 | If you say yes here, the system time (wall clock) will be stored |
35 | 35 | in the RTC specified by RTC_HCTOSYS_DEVICE approximately every 11 |
include/linux/time.h