History

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.

John Stultz committed 13 years ago

Commit 6f16eeb1 parent e90c83f4 files · +5 −5Browse files

Showing the changes to include/linux (1 of 4 files). Show all

Unified · Split

include/linux/time.h+1−1
@@ -117,7 +117,7 @@ static inline bool timespec_valid_strict(const struct timespec *ts) · 116 unmodified lines
117117
118118 extern bool persistent_clock_exist;
119119
120−#ifdef CONFIG_HAS_PERSISTENT_CLOCK
120+#ifdef ALWAYS_USE_PERSISTENT_CLOCK
121121 #define has_persistent_clock() true
122122 #else
123123 static inline bool has_persistent_clock(void)

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t