Re: [PATCH] move PIT_TICK_RATE to linux/timex.h

From: Andrew Morton
Date: Mon May 11 2009 - 20:09:38 EST


On Mon, 11 May 2009 22:55:36 +0000
Arnd Bergmann <arnd@xxxxxxxx> wrote:

> PIT_TICK_RATE is currently defined in four architectures,
> but in three different places. While linux/timex.h is not
> the perfect place for it, it is still a reasonable replacement
> for those drivers that traditionally use asm/timex.h to
> get CLOCK_TICK_RATE and expect it to be the PIT frequency.
>
> ...
>
> -#define PIT_TICK_RATE 1193180UL
> -#define PIT_TICK_RATE 1193182UL
> -#define PIT_TICK_RATE 1193182UL
> -#define PIT_TICK_RATE 1193182
> +#define PIT_TICK_RATE 1193182ul

So the type got changed in arch/x86/include/asm/timex.h. Did you check
whether that changes anything? I did a quick check and didn't see any
obvious problems..

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/