diff options
Diffstat (limited to 'drivers/pci')
-rw-r--r-- | drivers/pci/pci-acpi.c | 4 | ||||
-rw-r--r-- | drivers/pci/pci-driver.c | 3 | ||||
-rw-r--r-- | drivers/pci/pci.c | 2 |
3 files changed, 4 insertions, 5 deletions
diff --git a/drivers/pci/pci-acpi.c b/drivers/pci/pci-acpi.c index fac5eddcefd2..ea15b0537457 100644 --- a/drivers/pci/pci-acpi.c +++ b/drivers/pci/pci-acpi.c | |||
@@ -171,12 +171,12 @@ static int __init acpi_pci_init(void) | |||
171 | { | 171 | { |
172 | int ret; | 172 | int ret; |
173 | 173 | ||
174 | if (acpi_gbl_FADT.boot_flags & BAF_MSI_NOT_SUPPORTED) { | 174 | if (acpi_gbl_FADT.boot_flags & ACPI_FADT_NO_MSI) { |
175 | printk(KERN_INFO"ACPI FADT declares the system doesn't support MSI, so disable it\n"); | 175 | printk(KERN_INFO"ACPI FADT declares the system doesn't support MSI, so disable it\n"); |
176 | pci_no_msi(); | 176 | pci_no_msi(); |
177 | } | 177 | } |
178 | 178 | ||
179 | if (acpi_gbl_FADT.boot_flags & BAF_PCIE_ASPM_CONTROL) { | 179 | if (acpi_gbl_FADT.boot_flags & ACPI_FADT_NO_ASPM) { |
180 | printk(KERN_INFO"ACPI FADT declares the system doesn't support PCIe ASPM, so disable it\n"); | 180 | printk(KERN_INFO"ACPI FADT declares the system doesn't support PCIe ASPM, so disable it\n"); |
181 | pcie_no_aspm(); | 181 | pcie_no_aspm(); |
182 | } | 182 | } |
diff --git a/drivers/pci/pci-driver.c b/drivers/pci/pci-driver.c index c0cbbb5a245e..d76c4c85367e 100644 --- a/drivers/pci/pci-driver.c +++ b/drivers/pci/pci-driver.c | |||
@@ -277,10 +277,9 @@ static int pci_call_probe(struct pci_driver *drv, struct pci_dev *dev, | |||
277 | node = dev_to_node(&dev->dev); | 277 | node = dev_to_node(&dev->dev); |
278 | if (node >= 0) { | 278 | if (node >= 0) { |
279 | int cpu; | 279 | int cpu; |
280 | node_to_cpumask_ptr(nodecpumask, node); | ||
281 | 280 | ||
282 | get_online_cpus(); | 281 | get_online_cpus(); |
283 | cpu = cpumask_any_and(nodecpumask, cpu_online_mask); | 282 | cpu = cpumask_any_and(cpumask_of_node(node), cpu_online_mask); |
284 | if (cpu < nr_cpu_ids) | 283 | if (cpu < nr_cpu_ids) |
285 | error = work_on_cpu(cpu, local_pci_probe, &ddi); | 284 | error = work_on_cpu(cpu, local_pci_probe, &ddi); |
286 | else | 285 | else |
diff --git a/drivers/pci/pci.c b/drivers/pci/pci.c index fe7ac2cea7c9..445fb6f7ea3f 100644 --- a/drivers/pci/pci.c +++ b/drivers/pci/pci.c | |||
@@ -593,7 +593,7 @@ EXPORT_SYMBOL_GPL(__pci_complete_power_transition); | |||
593 | * @dev: PCI device to handle. | 593 | * @dev: PCI device to handle. |
594 | * @state: PCI power state (D0, D1, D2, D3hot) to put the device into. | 594 | * @state: PCI power state (D0, D1, D2, D3hot) to put the device into. |
595 | * | 595 | * |
596 | * Transition a device to a new power state, using the platform formware and/or | 596 | * Transition a device to a new power state, using the platform firmware and/or |
597 | * the device's PCI PM registers. | 597 | * the device's PCI PM registers. |
598 | * | 598 | * |
599 | * RETURN VALUE: | 599 | * RETURN VALUE: |