Re: next: sfi build fails when !CONFIG_ACPI

From: Randy Dunlap
Date: Wed Jul 22 2009 - 18:06:37 EST


On Thu, 16 Jul 2009 12:48:01 +0400 Alexander Beregalov wrote:

> Hi
>
> drivers/sfi/sfi_core.c: In function 'sfi_init':
> drivers/sfi/sfi_core.c:346: error: 'acpi_disabled' undeclared (first
> use in this function)
> drivers/sfi/sfi_core.c:346: error: (Each undeclared identifier is
> reported only once
> drivers/sfi/sfi_core.c:346: error: for each function it appears in.)
>
>
> $ grep ACPI .config
> # Power management and ACPI options
> --

next-20090722 still fails on x86_32 when SFI=y & ACPI=n:

arch/x86/pci/mmconfig_32.c:34: error: invalid use of undefined type 'struct acpi_mcfg_allocation'
arch/x86/pci/mmconfig_32.c:34: error: dereferencing pointer to incomplete type
arch/x86/pci/mmconfig_32.c:35: error: dereferencing pointer to incomplete type
arch/x86/pci/mmconfig_32.c:36: error: dereferencing pointer to incomplete type
arch/x86/pci/mmconfig_32.c:37: error: dereferencing pointer to incomplete type
arch/x86/pci/mmconfig_32.c:38: error: dereferencing pointer to incomplete type

config is attached.

---
~Randy
LPC 2009, Sept. 23-25, Portland, Oregon
http://linuxplumbersconf.org/2009/

Attachment: config-sfi
Description: Binary data