mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-28 17:41:50 +00:00
Merge branch 'arnds-jiffies-fix' into fortglx/3.7/time
Sort out conflict with Arnd's patch that preserves the unconditional LATCH value. Signed-off-by: John Stultz <john.stultz@linaro.org>
This commit is contained in:
commit
28f2b02bc5
1 changed files with 3 additions and 0 deletions
|
@ -51,6 +51,9 @@
|
||||||
#define SH_DIV(NOM,DEN,LSH) ( (((NOM) / (DEN)) << (LSH)) \
|
#define SH_DIV(NOM,DEN,LSH) ( (((NOM) / (DEN)) << (LSH)) \
|
||||||
+ ((((NOM) % (DEN)) << (LSH)) + (DEN) / 2) / (DEN))
|
+ ((((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);
|
extern int register_refined_jiffies(long clock_tick_rate);
|
||||||
|
|
||||||
/* TICK_NSEC is the time between ticks in nsec assuming SHIFTED_HZ */
|
/* TICK_NSEC is the time between ticks in nsec assuming SHIFTED_HZ */
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue