X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=include%2Fasm-sh%2Ftimex.h;h=bd2f43571fca13d1f35f331868185019a087cb2e;hb=6a77f38946aaee1cd85eeec6cf4229b204c15071;hp=96a33d1964cb997ef85a9378119ad2334b8899df;hpb=87fc8d1bb10cd459024a742c6a10961fefcef18f;p=linux-2.6.git diff --git a/include/asm-sh/timex.h b/include/asm-sh/timex.h index 96a33d196..bd2f43571 100644 --- a/include/asm-sh/timex.h +++ b/include/asm-sh/timex.h @@ -7,10 +7,6 @@ #define __ASM_SH_TIMEX_H #define CLOCK_TICK_RATE (CONFIG_SH_PCLK_FREQ / 4) /* Underlying HZ */ -#define CLOCK_TICK_FACTOR 20 /* Factor of both 1000000 and CLOCK_TICK_RATE */ -#define FINETUNE ((((((long)LATCH * HZ - CLOCK_TICK_RATE) << SHIFT_HZ) * \ - (1000000/CLOCK_TICK_FACTOR) / (CLOCK_TICK_RATE/CLOCK_TICK_FACTOR)) \ - << (SHIFT_SCALE-SHIFT_HZ)) / HZ) typedef unsigned long long cycles_t;