diff options
author | Pavel Vasilyev <linuxoid@tochka.ru> | 2008-10-15 17:33:48 -0400 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2008-10-15 17:33:48 -0400 |
commit | 1339c367a842a9fc34b8fcfa1abadb07b11848ad (patch) | |
tree | c76495f9d585b49978b29dc8832069bbf14be4ab /arch | |
parent | b3cef8f6eba47a10b80aa3e7a99e27110e34f3df (diff) | |
download | op-kernel-dev-1339c367a842a9fc34b8fcfa1abadb07b11848ad.zip op-kernel-dev-1339c367a842a9fc34b8fcfa1abadb07b11848ad.tar.gz |
fix CONFIG_MMCONFIG=n build warning
arch/x86/kernel/acpi/boot.c:100: warning: 'acpi_mcfg_64bit_base_addr' defined
but not used
http://bugzilla.kernel.org/show_bug.cgi?id=11743
Signed-off-by: Pavel Vasilyev <linuxoid@tochka.ru>
Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/x86/kernel/acpi/boot.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/arch/x86/kernel/acpi/boot.c b/arch/x86/kernel/acpi/boot.c index c102af8..0c2742f 100644 --- a/arch/x86/kernel/acpi/boot.c +++ b/arch/x86/kernel/acpi/boot.c @@ -97,7 +97,6 @@ static u64 acpi_lapic_addr __initdata = APIC_DEFAULT_PHYS_BASE; #warning ACPI uses CMPXCHG, i486 and later hardware #endif -static int acpi_mcfg_64bit_base_addr __initdata = FALSE; /* -------------------------------------------------------------------------- Boot-time Configuration @@ -156,6 +155,9 @@ char *__init __acpi_map_table(unsigned long phys, unsigned long size) } #ifdef CONFIG_PCI_MMCONFIG + +static int acpi_mcfg_64bit_base_addr __initdata = FALSE; + /* The physical address of the MMCONFIG aperture. Set from ACPI tables. */ struct acpi_mcfg_allocation *pci_mmcfg_config; int pci_mmcfg_config_num; |