Oleg,
How is this relative to HZ, when you remove all references to HZ?
> -#define CALIBRATE_LATCH (52 * LATCH)
> -#define CALIBRATE_TIME (52 * 1000020 / HZ)
> +#define CALIBRATE_LATCH 0xffff
[...]
> + /* and the final result in HZ */
> + return ((unsigned long)cc * CLOCK_TICK_RATE) / CALIBRATE_LATCH;
and in asm-alpha/timex.h,
> #define CLOCK_TICK_RATE 1193180 /* Underlying HZ */
--
Jeff Garzik | Thalidomide, eh?
Building 1024 | So you're saying the eggplant has an accomplice?
MandrakeSoft |