Skip to contentSkip to conversation

x86: acpi: move acpi_mcfg_64bit_base_addr into CONFIG_PCI_MMCONFIG

PATCH RESEND Applied Hiroshi Shimamoto 2 participants 2 messages Aug 26, 2008 – Aug 27, 2008

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH RESEND 1/1 x86: acpi: move acpi_mcfg_64bit_base_addr into CONFIG_PCI_MMCONFIG

From: Hiroshi Shimamoto <[email protected]>

acpi_mcfg_64bit_base_addr is used when CONFIG_PCI_MMCONFIG is enabled.

---
 arch/x86/kernel/acpi/boot.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
arch/x86/kernel/acpi/boot.c +2 -2
index fc64412..8a1c9f9 100644
@@ -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"))
Signature · 1 line
1.5.6
Applied
#1 lore raw
Quoted 3 lines · Hiroshi Shimamoto

From: Hiroshi Shimamoto <[email protected]>

acpi_mcfg_64bit_base_addr is used when CONFIG_PCI_MMCONFIG is enabled.

applied to tip/x86/cleanups, thanks!

Ingo