]> Pileus Git - ~andy/linux/blobdiff - include/linux/jiffies.h
Merge branch 'arnds-jiffies-fix' into fortglx/3.7/time
[~andy/linux] / include / linux / jiffies.h
index 388edb54bfb6a9e93812b59d42e3ba8fa2942321..c6d5b2afdc96de23fdfbe0b1eac4257fd0b23942 100644 (file)
@@ -51,6 +51,9 @@
 #define SH_DIV(NOM,DEN,LSH) (   (((NOM) / (DEN)) << (LSH))              \
                              + ((((NOM) % (DEN)) << (LSH)) + (DEN) / 2) / (DEN))
 
+/* LATCH is used in the interval timer and ftape setup. */
+#define LATCH ((CLOCK_TICK_RATE + HZ/2) / HZ)  /* For divider */
+
 extern int register_refined_jiffies(long clock_tick_rate);
 
 /* TICK_NSEC is the time between ticks in nsec assuming SHIFTED_HZ */