Re: [PATCH 1/5] generic clocksource updates

From: Thomas Gleixner
Date: Thu Apr 06 2006 - 06:06:42 EST


On Mon, 2006-04-03 at 21:55 +0200, Roman Zippel wrote:
> struct clocksource {
> char *name;
> @@ -58,11 +57,11 @@ struct clocksource {
> u32 mult;
> u32 shift;
> int (*update_callback)(void);
> - int is_continuous;

This field was introduced to have a clear property description. The
rating field might be used for this, but from a given rating on a
particular CPU architecture it might be hard to deduce whether this
clock source is good enough so we can switch to high resolution timer
mode.

is_continous is maybe not the best choice, but a flag field to retrieve
certain properties would be a good thing to have.

tglx




-
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/