diff options
Diffstat (limited to 'include/linux/jiffies.h')
-rw-r--r-- | include/linux/jiffies.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/jiffies.h b/include/linux/jiffies.h index 388edb5..c6d5b2a 100644 --- a/include/linux/jiffies.h +++ b/include/linux/jiffies.h @@ -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 */ |