Re: Help port swsusp to ppc.

From: Benjamin Herrenschmidt
Date: Tue Jan 20 2004 - 06:27:08 EST



> Swsusp saves the data structures from the suspended kernel, so they have to
> match the data structures of the resumed kernel, right?
>
> I't s a bit like trying insmod -f on a module compiled for a completely
> different kernel version... *bang*

No, swsusp saves the whole memory image, including the old kernel. The
"boot" kernel is only used as a loader until all pages are put back in
place and control can be given back to the old kernel. Well, that might
not exactly be what x86 does but that's definitely waht I'll do on PPC :)

Ben.


-
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/