Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756539Ab1CMN5V (ORCPT ); Sun, 13 Mar 2011 09:57:21 -0400 Received: from www.tglx.de ([62.245.132.106]:38753 "EHLO www.tglx.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756451Ab1CMN5U (ORCPT ); Sun, 13 Mar 2011 09:57:20 -0400 Date: Sun, 13 Mar 2011 14:56:52 +0100 (CET) From: Thomas Gleixner To: "Rafael J. Wysocki" 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 Subject: Re: [PATCH 4/8] timekeeping: Use syscore_ops instead of sysdev class and sysdev In-Reply-To: <201103122217.34004.rjw@sisk.pl> Message-ID: References: <201103100131.58206.rjw@sisk.pl> <201103122212.40828.rjw@sisk.pl> <201103122217.34004.rjw@sisk.pl> User-Agent: Alpine 2.00 (LFD 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 884 Lines: 19 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 -- 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/