]> Pileus Git - ~andy/linux/commitdiff
Merge branch 'arnds-jiffies-fix' into fortglx/3.7/time
authorJohn Stultz <john.stultz@linaro.org>
Fri, 28 Sep 2012 22:00:27 +0000 (18:00 -0400)
committerJohn Stultz <john.stultz@linaro.org>
Fri, 28 Sep 2012 22:00:27 +0000 (18:00 -0400)
Sort out conflict with Arnd's patch that preserves
the unconditional LATCH value.

Signed-off-by: John Stultz <john.stultz@linaro.org>
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 */