Re: 2.6.12-rc1-mm3

Jason Uhlenkott
2005-03-26T01:44:05Z

On Fri, Mar 25, 2005 at 12:21:54AM -0800, Andrew Morton wrote:
> bk-acpi.patch

This doesn't build for SGI sn2:

arch/ia64/kernel/mca.c: In function `ia64_mca_init':
arch/ia64/kernel/mca.c:1394: error: `ACPI_INTERRUPT_CPEI' undeclared (first use in this function)
arch/ia64/kernel/mca.c:1394: error: (Each undeclared identifier is reported only once
arch/ia64/kernel/mca.c:1394: error: for each function it appears in.)
make[1]: *** [arch/ia64/kernel/mca.o] Error 1
make: *** [arch/ia64/kernel] Error 2

This is because we lost CONFIG_ACPI_BOOT -- it now depends on
CONFIG_PM, which we don't have (or want) on sn2. The following fixes
it, but I'm not sure what the original rationale was. Len?

Signed-off-by: Jason Uhlenkott <jasonuhl@sgi.com>

Index: linux/drivers/acpi/Kconfig
===================================================================
--- linux.orig/drivers/acpi/Kconfig 2005-03-25 12:22:57.909667494 -0800
+++ linux/drivers/acpi/Kconfig 2005-03-25 16:28:35.793588269 -0800
@@ -3,7 +3,6 @@
#

menu "ACPI (Advanced Configuration and Power Interface) Support"
- depends on PM
depends on !X86_VISWS
depends on !IA64_HP_SIM
depends on IA64 || X86