You've already forked linux-apfs
mirror of
https://github.com/linux-apfs/linux-apfs.git
synced 2026-05-01 15:00:59 -07:00
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>
This commit is contained in:
@@ -117,7 +117,7 @@ static inline bool timespec_valid_strict(const struct timespec *ts)
|
||||
|
||||
extern bool persistent_clock_exist;
|
||||
|
||||
#ifdef CONFIG_HAS_PERSISTENT_CLOCK
|
||||
#ifdef ALWAYS_USE_PERSISTENT_CLOCK
|
||||
#define has_persistent_clock() true
|
||||
#else
|
||||
static inline bool has_persistent_clock(void)
|
||||
|
||||
Reference in New Issue
Block a user