lkml.org 
[lkml]   [2011]   [Dec]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 2/2] PM: Use the freezer_count() functions in [un]lock_system_sleep() APIs
On Tue, Dec 06, 2011 at 09:34:02PM +0530, Srivatsa S. Bhat wrote:
> Now that freezer_count() and freezer_do_not_count() don't have the restriction
> that they are effective only when called by userspace processes, use
> them in lock_system_sleep() and unlock_system_sleep() instead of open-coding
> their parts.
>
> Signed-off-by: Srivatsa S. Bhat <srivatsa.bhat@linux.vnet.ibm.com>

Acked-by: Tejun Heo <tj@kernel.org>

--
tejun


\
 
 \ /
  Last update: 2011-12-06 17:37    [W:0.069 / U:0.112 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site