Re: swsusp for 2.5.47 [not for inclusion]

Petr Vandrovec (VANDROVE@vc.cvut.cz)
Wed, 13 Nov 2002 21:41:43 +0100


On 12 Nov 02 at 22:51, Pavel Machek wrote:

> This is patch I'm using. With this swsusp in 2.5.47 should work.
>
> --- clean/arch/i386/kernel/Makefile 2002-11-12 18:40:26.000000000 +0100
> +++ linux-swsusp/arch/i386/kernel/Makefile 2002-11-12 22:22:53.000000000 +0100
> @@ -24,7 +24,7 @@
> obj-$(CONFIG_X86_MPPARSE) += mpparse.o
> obj-$(CONFIG_X86_LOCAL_APIC) += apic.o nmi.o
> obj-$(CONFIG_X86_IO_APIC) += io_apic.o
> -obj-$(CONFIG_SOFTWARE_SUSPEND) += suspend.o
> +obj-$(CONFIG_SOFTWARE_SUSPEND) += suspend.o suspend_asm.o
> obj-$(CONFIG_X86_NUMAQ) += numaq.o
> obj-$(CONFIG_PROFILING) += profile.o
> obj-$(CONFIG_EDD) += edd.o

With 2.5.47-bk-current, your patch is apparently included.

I had to modify this Makefile (in 2.5.47-bk) to include suspend.o
unconditionally because of saved_* is declared here, and they are
needed by ACPI. Of course, it is also possible to do

obj-$(CONFIG_ACPI_SLEEP) += acpi_wakeup.o suspend.o

instead of linking suspend.o unconditionally, but I did not tested it.
Best regards,
Petr Vandrovec
vandrove@vc.cvut.cz

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