lkml.org 
[lkml]   [2007]   [May]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH -mm] PM: Separate hibernation code from suspend code
From
Date
On Sat, 2007-05-05 at 15:50 +0200, Rafael J. Wysocki wrote:

> @@ -60,6 +60,9 @@ void hibernation_set_ops(struct hibernat
> }
> mutex_lock(&pm_mutex);
> hibernation_ops = ops;
> + if (ops)
> + hibernation_mode = HIBERNATION_PLATFORM;

else if (hibernation_mode == HIBERNATION_PLATFORM)
hibernation_mode = HIBERNATION_SHUTDOWN;

> +
> mutex_unlock(&pm_mutex);

johannes
[unhandled content-type:application/pgp-signature]
\
 
 \ /
  Last update: 2007-05-07 13:47    [W:0.156 / U:0.576 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site