lkml.org 
[lkml]   [2008]   [Dec]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] clocksource: add enable() and disable() callbacks
On Thu, 11 Dec 2008 20:49:09 +0900 Magnus Damm <magnus.damm@gmail.com> wrote:

> From: Magnus Damm <damm@igel.co.jp>
>
> 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@igel.co.jp>
> Acked-by: John Stultz <johnstul@us.ibm.com>
> ---
>
> Same as before, but applies on top of the new read() patch.

I asusme we'll be seeing some patches which _use_ these changes?


\
 
 \ /
  Last update: 2008-12-12 04:17    [W:0.065 / U:0.316 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site