lkml.org 
[lkml]   [2008]   [Oct]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 1/6] Hibernation: Introduce new system state for the last phase of hibernation
On Fri, 3 Oct 2008 13:27:18 +0200 "Rafael J. Wysocki" <rjw@sisk.pl> wrote:

> > Can we just create a new global?
> >
> > extern bool system_entering_hibernation_or_whatever;
>
> Yes, we can, but what about:
>
> extern bool system_entering_hibernation(void);
>
> that will become a static inline in case of !CONFIG_HIBERNATION,
> and using a static variable?

Sure, even better.


\
 
 \ /
  Last update: 2008-10-03 14:47    [W:0.073 / U:0.236 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site