Re: [PATCH] clocksource: add enable() and disable() callbacks

From: Andrew Morton
Date: Thu Dec 11 2008 - 22:14:40 EST


On Thu, 11 Dec 2008 20:49:09 +0900 Magnus Damm <magnus.damm@xxxxxxxxx> wrote:

> From: Magnus Damm <damm@xxxxxxxxxx>
>
> Add enable() and disable() callbacks for clocksources. This allows
> us to put unused clocksources in power save mode. The functions
> clocksource_enable() and clocksource_disable() wrap the callbacks
> and are inserted in the timekeeping code to enable before use and
> disable after switching to a new clocksource.
>
> Signed-off-by: Magnus Damm <damm@xxxxxxxxxx>
> Acked-by: John Stultz <johnstul@xxxxxxxxxx>
> ---
>
> Same as before, but applies on top of the new read() patch.

I asusme we'll be seeing some patches which _use_ these changes?
--
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/