projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2c20438
)
ACPI/PCI: Reset acpi_root_dev->domain to 0 when pci_ignore_seg is set
author
Jiang Liu
<
[email protected]
>
Wed, 14 Oct 2015 06:29:40 +0000
(14:29 +0800)
committer
Rafael J. Wysocki
<
[email protected]
>
Fri, 16 Oct 2015 20:18:52 +0000
(22:18 +0200)
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 <
[email protected]
>
Signed-off-by: Jiang Liu <
[email protected]
>
Signed-off-by: Rafael J. Wysocki <
[email protected]
>
arch/x86/pci/acpi.c
patch
|
blob
|
history
diff --git
a/arch/x86/pci/acpi.c
b/arch/x86/pci/acpi.c
index ff9911707160ac7691e119aad62f32d7f61c143a..5bc018559cc4b56b07f9fc6e2bb4d6f331bc2c0d 100644
(file)
--- 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: "