RE: Compile error on 2.5.31 with CONFIG_SOFTWARE_SUSPEND

From: Grover, Andrew (andrew.grover@intel.com)
Date: Thu Aug 15 2002 - 15:51:38 EST


> From: Prasanna Subash [mailto:subash@skyline.external.hp.com]
> I get a compile error on 2.5.31 when I enable
> CONFIG_SOFTWARE_SUSPEND.
>
> This is the error I get.
>
> drivers/built-in.o: In function `acpi_system_suspend':
> drivers/built-in.o(.text+0x39a1e): undefined reference to `save_flags'
> drivers/built-in.o(.text+0x39a4b): undefined reference to
> `restore_flags'
>
> I noticed that the include/asm-i386 did not have the
> save_flags and
> restore_flags macros while every other arch directory seems
> to have the
> #define'd.

This is fixed in my tree (thanks to Pavel) and will be included in the next
ACPI update to Linus.

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



This archive was generated by hypermail 2b29 : Thu Aug 15 2002 - 22:00:40 EST