From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Brownell Subject: Re: [PATCH] s2ram: add arch irq disable/enable hooks Date: Sat, 21 Apr 2007 09:55:11 -0700 Message-ID: <200704210955.11351.david-b@pacbell.net> References: <1176980411.6141.83.camel@johannes.berg> <200704210841.18581.david-b@pacbell.net> <1177172194.5941.23.camel@johannes.berg> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1177172194.5941.23.camel@johannes.berg> Content-Disposition: inline List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: linux-pm-bounces@lists.linux-foundation.org Errors-To: linux-pm-bounces@lists.linux-foundation.org To: Johannes Berg Cc: linux-pm@lists.linux-foundation.org, Andrew Morton , Pavel Machek List-Id: linux-pm@vger.kernel.org On Saturday 21 April 2007, Johannes Berg wrote: > On Sat, 2007-04-21 at 08:41 -0700, David Brownell wrote: > > > Sorry for not highlighting this before, but these are badly misnamed. > > They apply for every system suspend state except PM_SUSPEND_DISK ... > > NOT just suspend-to-ram, as specified by the function name. > > Good point. arch_pm_disable_irqs? Or maybe arch_suspend_disable_irqs() ... there are PM operations that don't involve system suspend states. - Dave