Messages in this thread | | | From | Herbert Xu <> | Subject | Re: swsusp: fix swsusp with intel-agp | Date | Fri, 21 May 2004 21:05:01 +1000 |
| |
Pavel Machek <pavel@ucw.cz> 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. * > --- tmp/linux/arch/i386/power/cpu.c 2004-05-20 23:08:05.000000000 +0200 > +++ linux/arch/i386/power/cpu.c 2004-05-20 23:10:50.000000000 +0200 > @@ -35,6 +35,10 @@ > unsigned long saved_context_esi, saved_context_edi; > unsigned long saved_context_eflags; > > +/* Special page directory for resume */ > +char __nosavedata swsusp_pg_dir[PAGE_SIZE] > + __attribute__ ((aligned (PAGE_SIZE))); > + > extern void enable_sep_cpu(void *);
Thanks, -- Visit Openswan at http://www.openswan.org/ Email: Herbert Xu ~{PmV>HI~} <herbert@gondor.apana.org.au> 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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |