diff options
Diffstat (limited to 'include/linux/time.h')
| -rw-r--r-- | include/linux/time.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/include/linux/time.h b/include/linux/time.h index 22d81b3c955b..d5d229b2e5af 100644 --- a/include/linux/time.h +++ b/include/linux/time.h | |||
| @@ -117,14 +117,10 @@ 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 ALWAYS_USE_PERSISTENT_CLOCK | ||
| 121 | #define has_persistent_clock() true | ||
| 122 | #else | ||
| 123 | static inline bool has_persistent_clock(void) | 120 | static inline bool has_persistent_clock(void) |
| 124 | { | 121 | { |
| 125 | return persistent_clock_exist; | 122 | return persistent_clock_exist; |
| 126 | } | 123 | } |
| 127 | #endif | ||
| 128 | 124 | ||
| 129 | extern void read_persistent_clock(struct timespec *ts); | 125 | extern void read_persistent_clock(struct timespec *ts); |
| 130 | extern void read_boot_clock(struct timespec *ts); | 126 | extern void read_boot_clock(struct timespec *ts); |
