Re: [patch] 2.6.2-rc2 Remove compile warnings from timer.o

From: Darren Williams <>
Date: 2004-02-11 10:55:03
Hi David

On Tue, 10 Feb 2004, David Mosberger wrote:

>   Darren> -#  define HZ	  32
>   Darren> +#  define HZ	  96
> Doesn't strike me as the correct fix: looking at timex.h, clearly HZ
> values as low as 12Hz are supposed to be supported.  Perhaps a better
> fix would be to change timer.c to verify that
> SHIFT_SCALE<=SHIFT_USEC+SHIFT_HZ before attempting to do the shifting
> (via a CPP #if, of course).
> Also, I'm a bit reluctant to increase the HZ value for the simulator,
> because too large a value will cause the simulated kernel to fail to
> make forward progress on slow host machines.

I thouht that this might be the case, though the fisrt attempt modified
the smallest amount of source.

> 	--david

Hope the attached is suitable.


Darren Williams <dsw AT>
Gelato@UNSW <>

To unsubscribe from this list: send the line "unsubscribe linux-ia64" in
the body of a message to
More majordomo info at

Received on Tue Feb 10 18:57:01 2004

This archive was generated by hypermail 2.1.8 : 2005-08-02 09:20:22 EST