Re: [patch 05/38] s390: hibernation support for s390

From: Hans-Joachim Picht
Date: Wed Jun 10 2009 - 05:48:48 EST


On Tue, 9 Jun 2009 21:59:03 +0200
Pavel Machek <pavel@xxxxxx> wrote:

> > > > +/*
> > > > + * save CPU registers before creating a hibernation image and
> > > > before
> > > > + * restoring the memory state from it
> > > > + */
> > > > +void save_processor_state(void)
> > > > +{
> > > > +}
> > > > +
> > > > +/*
> > > > + * restore the contents of CPU registers
> > > > + */
> > > > +void restore_processor_state(void)
> > > > +{
> > > > +}
> > >
> > > ...and explaining why the functions can be emmpty would be nice.
> >
> > I integrated the code for this in the assembly backend in the
> > swsusp_arch_suspend & swsusp_arch_resume functions.
>
> I guessed so. Maybe it is worth a comment?

Sure ;-)
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/