diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/timex.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/include/linux/timex.h b/include/linux/timex.h index e6967d10d9e5..0c0ef7d4db7c 100644 --- a/include/linux/timex.h +++ b/include/linux/timex.h | |||
@@ -261,11 +261,7 @@ static inline int ntp_synced(void) | |||
261 | 261 | ||
262 | #define NTP_SCALE_SHIFT 32 | 262 | #define NTP_SCALE_SHIFT 32 |
263 | 263 | ||
264 | #ifdef CONFIG_NO_HZ | ||
265 | #define NTP_INTERVAL_FREQ (2) | ||
266 | #else | ||
267 | #define NTP_INTERVAL_FREQ (HZ) | 264 | #define NTP_INTERVAL_FREQ (HZ) |
268 | #endif | ||
269 | #define NTP_INTERVAL_LENGTH (NSEC_PER_SEC/NTP_INTERVAL_FREQ) | 265 | #define NTP_INTERVAL_LENGTH (NSEC_PER_SEC/NTP_INTERVAL_FREQ) |
270 | 266 | ||
271 | /* Returns how long ticks are at present, in ns / 2^NTP_SCALE_SHIFT. */ | 267 | /* Returns how long ticks are at present, in ns / 2^NTP_SCALE_SHIFT. */ |