On Mon, Jun 20, 2011 at 06:38:40PM +0200, Mike Belopuhov wrote:
> On Mon, Jun 20, 2011 at 13:22 +0200, Mark Kettenis wrote:
> > > Date: Mon, 20 Jun 2011 11:04:24 +0200
> > > From: Mike Belopuhov <m...@crypt.org.ru>
> > > 
> > > hi,
> > > 
> > > the hibernate_machdep.c file depends on the acpi so it would be
> > > nice if we excluded this file if kernel config doesn't reference
> > > acpi. a simple fix that establishes the dependency is below. ok?
> > 
> > The hibernate code doesn't really depend on ACPI.  Currently it is
> > only called by the acpi code, but it should work just as well on
> > systems without ACPI.
> > 
> 
> it's an unfortunate consequence of putting an assembler chunk of the
> hibernate code into the acpi_wakecode.S.

We could split that up I suppose. There are two functions in there that
are needed in hibernate, one to swap stacks and the other to bounce down
to the S3 resume trampoline.

-ml

Reply via email to