Re: swsusp: fix swsusp with intel-agp

From: Herbert Xu
Date: Fri May 21 2004 - 06:20:14 EST


On Fri, May 21, 2004 at 01:16:13PM +0200, Pavel Machek wrote:
>
> > > --- tmp/linux/arch/i386/mm/init.c 2004-05-20 23:08:05.000000000 +0200
> > > +++ linux/arch/i386/mm/init.c 2004-05-20 23:10:50.000000000 +0200
> > > @@ -331,6 +331,13 @@
> > > void zap_low_mappings (void)
> > > {
> > > int i;
> > > +
> > > +#ifdef CONFIG_SOFTWARE_SUSPEND
> >
> > Can you please define this for CONFIG_PM_DISK as well? Alternatively,
> > you can do the same as you did in cpu.c and define this for
> > CONFIG_PM.
>
> That would need few more parts to actually do something usefull on
> pmdisk, right? Lowlevel code needs to know how to switch.

Well once you do this then pmdisk.S can be easily patched to do
the same thing as swsusp.S :)
--
Visit Openswan at http://www.openswan.org/
Email: Herbert Xu ~{PmV>HI~} <herbert@xxxxxxxxxxxxxxxxxxx>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
-
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/