]> rtime.felk.cvut.cz Git - lisovros/linux_canprio.git/blobdiff - include/linux/timex.h
Merge branches 'timers-for-linus-ntp' and 'irq-core-for-linus' of git://git.kernel...
[lisovros/linux_canprio.git] / include / linux / timex.h
index 782ccd45c0d9944744c0730c27fe82acd2ffd967..94f8faecdcbc75bc9a10ffc9fb2a97465480b76e 100644 (file)
@@ -264,11 +264,7 @@ static inline int ntp_synced(void)
 
 #define NTP_SCALE_SHIFT                32
 
-#ifdef CONFIG_NO_HZ
-#define NTP_INTERVAL_FREQ  (2)
-#else
 #define NTP_INTERVAL_FREQ  (HZ)
-#endif
 #define NTP_INTERVAL_LENGTH (NSEC_PER_SEC/NTP_INTERVAL_FREQ)
 
 /* Returns how long ticks are at present, in ns / 2^NTP_SCALE_SHIFT. */