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.
Showing the changes to include/linux (1 of 4 files). Show all
Unified · Split
| @@ -117,7 +117,7 @@ static inline bool timespec_valid_strict(const struct timespec *ts) · 116 unmodified lines | ||
| 117 | 117 | |
| 118 | 118 | extern bool persistent_clock_exist; |
| 119 | 119 | |
| 120 | −#ifdef CONFIG_HAS_PERSISTENT_CLOCK | |
| 120 | +#ifdef ALWAYS_USE_PERSISTENT_CLOCK | |
| 121 | 121 | #define has_persistent_clock() true |
| 122 | 122 | #else |
| 123 | 123 | static inline bool has_persistent_clock(void) |