pmdisk working on ppc (WAS: Help port swsusp to ppc)

Michael Schmitz schmitz at opal.biophys.uni-duesseldorf.de
Thu Jan 29 20:30:52 EST 2004


> > OK. I put a mdelay(100) between the PMU_SYSTEM_READY request and the
> > pmu_suspend() call in pmu_sys_resume and it seems to work so far. Side
> > note: if you are saving a large system and have multiple swap files, play
> > with swap priorities to make sure the pages are swapped out to the file
> > _not_ used for suspend.
>
> Hrm... Remove the PMU_SYSTEM_READY, it's a bug to call it on a 101...
> And it's not needed anyway.

I'm trying a if (pmu_kind != 3) around that call - should it rather be <= 3 ?

	Michael


** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/





More information about the Linuxppc-dev mailing list