x86: acpi: move acpi_mcfg_64bit_base_addr into CONFIG_PCI_MMCONFIG
authorHiroshi Shimamoto <h-shimamoto@ct.jp.nec.com>
Tue, 26 Aug 2008 22:13:45 +0000 (15:13 -0700)
committerIngo Molnar <mingo@elte.hu>
Wed, 27 Aug 2008 06:25:06 +0000 (08:25 +0200)
acpi_mcfg_64bit_base_addr is used when CONFIG_PCI_MMCONFIG is enabled.

Signed-off-by: Hiroshi Shimamoto <h-shimamoto@ct.jp.nec.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/acpi/boot.c

index f20470823d385ee380488180e3402273b0555aa6..e5032d7b391dde1cd040c88b3f3087ad0f4dca2d 100644 (file)
@@ -96,8 +96,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
    -------------------------------------------------------------------------- */
@@ -159,6 +157,8 @@ char *__init __acpi_map_table(unsigned long phys, unsigned long size)
 struct acpi_mcfg_allocation *pci_mmcfg_config;
 int pci_mmcfg_config_num;
 
+static int acpi_mcfg_64bit_base_addr __initdata = FALSE;
+
 static int __init acpi_mcfg_oem_check(struct acpi_table_mcfg *mcfg)
 {
        if (!strcmp(mcfg->header.oem_id, "SGI"))