Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753892Ab1CMPIA (ORCPT ); Sun, 13 Mar 2011 11:08:00 -0400 Received: from ogre.sisk.pl ([217.79.144.158]:54786 "EHLO ogre.sisk.pl" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753758Ab1CMPH5 (ORCPT ); Sun, 13 Mar 2011 11:07:57 -0400 From: "Rafael J. Wysocki" To: Thomas Gleixner Subject: Re: [PATCH 4/8] timekeeping: Use syscore_ops instead of sysdev class and sysdev Date: Sun, 13 Mar 2011 16:08:14 +0100 User-Agent: KMail/1.13.6 (Linux/2.6.38-rc8+; KDE/4.6.0; x86_64; ; ) Cc: LKML , Len Brown , Greg KH , Kay Sievers , Jesse Barnes , Linux PM mailing list , "H. Peter Anvin" , mingo@redhat.com, Dave Jones , Alan Stern , Avi Kivity References: <201103100131.58206.rjw@sisk.pl> <201103122217.34004.rjw@sisk.pl> In-Reply-To: MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201103131608.14914.rjw@sisk.pl> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 979 Lines: 24 On Sunday, March 13, 2011, Thomas Gleixner wrote: > On Sat, 12 Mar 2011, Rafael J. Wysocki wrote: > > From: Rafael J. Wysocki > > > > The timekeeping subsystem uses a sysdev class and a sysdev for > > executing timekeeping_suspend() after interrupts have been turned off > > on the boot CPU (during system suspend) and for executing > > timekeeping_resume() before turning on interrupts on the boot CPU > > (during system resume). However, since both of these functions > > ignore their arguments, the entire mechanism may be replaced with a > > struct syscore_ops object which is simpler. > > > > Signed-off-by: Rafael J. Wysocki > > Reviewed-by: Thomas Gleixner Thanks! Rafael -- 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/