aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBjorn Helgaas <bhelgaas@google.com>2016-10-03 10:43:20 -0400
committerBjorn Helgaas <bhelgaas@google.com>2016-10-03 10:43:20 -0400
commit5485e49f71610a005304f8a3617ab2893543a1dc (patch)
tree154a90e19ffee658c5dc50348e88d63478ce597f
parent64ea3b99d665d0140cdf5047571e65d8ca28d0e6 (diff)
parentad618c9983be3136e9e7209ffd7c4102720d0739 (diff)
Merge branch 'pci/misc' into next
* pci/misc: PCI: Drop CONFIG_KEXEC_CORE ifdeffery
-rw-r--r--drivers/pci/pci-driver.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/pci/pci-driver.c b/drivers/pci/pci-driver.c
index e39a67c8ef39..edd78e04b693 100644
--- a/drivers/pci/pci-driver.c
+++ b/drivers/pci/pci-driver.c
@@ -466,7 +466,6 @@ static void pci_device_shutdown(struct device *dev)
466 pci_msi_shutdown(pci_dev); 466 pci_msi_shutdown(pci_dev);
467 pci_msix_shutdown(pci_dev); 467 pci_msix_shutdown(pci_dev);
468 468
469#ifdef CONFIG_KEXEC_CORE
470 /* 469 /*
471 * If this is a kexec reboot, turn off Bus Master bit on the 470 * If this is a kexec reboot, turn off Bus Master bit on the
472 * device to tell it to not continue to do DMA. Don't touch 471 * device to tell it to not continue to do DMA. Don't touch
@@ -476,7 +475,6 @@ static void pci_device_shutdown(struct device *dev)
476 */ 475 */
477 if (kexec_in_progress && (pci_dev->current_state <= PCI_D3hot)) 476 if (kexec_in_progress && (pci_dev->current_state <= PCI_D3hot))
478 pci_clear_master(pci_dev); 477 pci_clear_master(pci_dev);
479#endif
480} 478}
481 479
482#ifdef CONFIG_PM 480#ifdef CONFIG_PM