From: Jiang Liu Date: Wed, 14 Oct 2015 06:29:40 +0000 (+0800) Subject: ACPI/PCI: Reset acpi_root_dev->domain to 0 when pci_ignore_seg is set X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=a3669868d99c8647d780895d83e74d9a921eba2b;p=linux-beck.git ACPI/PCI: Reset acpi_root_dev->domain to 0 when pci_ignore_seg is set Reset acpi_root_dev->domain to 0 when pci_ignore_seg is set to keep consistence between ACPI PCI root device and PCI host bridge device. Acked-by: Bjorn Helgaas Signed-off-by: Jiang Liu Signed-off-by: Rafael J. Wysocki --- diff --git a/arch/x86/pci/acpi.c b/arch/x86/pci/acpi.c index ff9911707160..5bc018559cc4 100644 --- a/arch/x86/pci/acpi.c +++ b/arch/x86/pci/acpi.c @@ -401,7 +401,7 @@ struct pci_bus *pci_acpi_scan_root(struct acpi_pci_root *root) int node; if (pci_ignore_seg) - domain = 0; + root->segment = domain = 0; if (domain && !pci_domains_supported) { printk(KERN_WARNING "pci_bus %04x:%02x: "