diff options
author | John Stultz <john.stultz@linaro.org> | 2013-01-25 20:08:12 -0500 |
---|---|---|
committer | John Stultz <john.stultz@linaro.org> | 2013-01-29 17:40:12 -0500 |
commit | 6f16eebe1ff82176339a0439c98ebec9768b0ee2 (patch) | |
tree | 8d818d7299f205ebde374f753ac384b5d0ac1835 /include | |
parent | e90c83f757fffdacec8b3c5eee5617dcc038338f (diff) |
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>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/time.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/time.h b/include/linux/time.h index 369b6e3b87d8..476e1d7b2c37 100644 --- a/include/linux/time.h +++ b/include/linux/time.h | |||
@@ -117,7 +117,7 @@ static inline bool timespec_valid_strict(const struct timespec *ts) | |||
117 | 117 | ||
118 | extern bool persistent_clock_exist; | 118 | extern bool persistent_clock_exist; |
119 | 119 | ||
120 | #ifdef CONFIG_HAS_PERSISTENT_CLOCK | 120 | #ifdef ALWAYS_USE_PERSISTENT_CLOCK |
121 | #define has_persistent_clock() true | 121 | #define has_persistent_clock() true |
122 | #else | 122 | #else |
123 | static inline bool has_persistent_clock(void) | 123 | static inline bool has_persistent_clock(void) |