[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20081003054355.e3a3ac79.akpm@linux-foundation.org>
Date: Fri, 3 Oct 2008 05:43:55 -0700
From: Andrew Morton <akpm@...ux-foundation.org>
To: "Rafael J. Wysocki" <rjw@...k.pl>
Cc: Jeff Garzik <jeff@...zik.org>, Tejun Heo <htejun@...il.com>,
ACPI Devel Maling List <linux-acpi@...r.kernel.org>,
linux-ide@...r.kernel.org, Thomas Renninger <trenn@...e.de>,
Robert Hancock <hancockr@...w.ca>,
LKML <linux-kernel@...r.kernel.org>,
Frans Pop <elendil@...net.nl>,
Maciej Rutecki <maciej.rutecki@...il.com>
Subject: Re: [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@...k.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.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists