[PATCH 2/5] powerpc: fix suspend states again

Johannes Berg johannes at sipsolutions.net
Tue Mar 20 02:22:06 EST 2007


On Mon, 2007-03-19 at 15:48 +0100, Benjamin Herrenschmidt wrote:

> > I removed
> > 	set_context(current->active_mm->context.id, current->active_mm->pgd);

> No, you need that to restore the segment registers. I might work for you
> by mere luck.

Hm, I thought they were saved by the lowlevel code, but yeah. I'll need
to see where to put this. Btw, it looks like it's missing in
powerbook_sleep_3400 as well?

johannes
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part
URL: <http://lists.ozlabs.org/pipermail/linuxppc-dev/attachments/20070319/aabb9176/attachment.pgp>


More information about the Linuxppc-dev mailing list