Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758501AbYLLDOk (ORCPT ); Thu, 11 Dec 2008 22:14:40 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1757307AbYLLDOc (ORCPT ); Thu, 11 Dec 2008 22:14:32 -0500 Received: from smtp1.linux-foundation.org ([140.211.169.13]:37345 "EHLO smtp1.linux-foundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757252AbYLLDOc (ORCPT ); Thu, 11 Dec 2008 22:14:32 -0500 Date: Thu, 11 Dec 2008 19:08:21 -0800 From: Andrew Morton To: Magnus Damm Cc: linux-kernel@vger.kernel.org, johnstul@us.ibm.com, lethal@linux-sh.org, tglx@linutronix.de, mingo@redhat.com Subject: Re: [PATCH] clocksource: add enable() and disable() callbacks Message-Id: <20081211190821.9f4b5a5c.akpm@linux-foundation.org> In-Reply-To: <20081211114909.17624.85712.sendpatchset@rx1.opensource.se> References: <20081211114909.17624.85712.sendpatchset@rx1.opensource.se> X-Mailer: Sylpheed 2.4.8 (GTK+ 2.12.5; x86_64-redhat-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 918 Lines: 22 On Thu, 11 Dec 2008 20:49:09 +0900 Magnus Damm wrote: > From: Magnus Damm > > 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 > Acked-by: John Stultz > --- > > 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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/