summaryrefslogtreecommitdiffstats
path: root/drivers/pci/pci.h
diff options
context:
space:
mode:
authorOza Pawandeep <poza@codeaurora.org>2018-05-17 23:44:19 +0200
committerBjorn Helgaas <bhelgaas@google.com>2018-06-03 02:29:26 +0200
commit0b91439d35550f585b49e8933fda68663ba03bb2 (patch)
treea80bc2958f934863b5e217d498bd987b37cd57b2 /drivers/pci/pci.h
parentPCI/DPC: Disable ERR_NONFATAL handling by DPC (diff)
downloadlinux-0b91439d35550f585b49e8933fda68663ba03bb2.tar.xz
linux-0b91439d35550f585b49e8933fda68663ba03bb2.zip
PCI/AER: Pass service type to pcie_do_fatal_recovery()
Pass the service type to pcie_do_fatal_recovery() instead of assuming AER. We will make DPC also use pcie_do_fatal_recovery(), and it needs to do things a little differently for AER and DPC. Signed-off-by: Oza Pawandeep <poza@codeaurora.org> [bhelgaas: split to separate patch] Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Diffstat (limited to 'drivers/pci/pci.h')
-rw-r--r--drivers/pci/pci.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pci/pci.h b/drivers/pci/pci.h
index 5e8857a3a575..6af75952cac7 100644
--- a/drivers/pci/pci.h
+++ b/drivers/pci/pci.h
@@ -354,7 +354,7 @@ static inline resource_size_t pci_resource_alignment(struct pci_dev *dev,
void pci_enable_acs(struct pci_dev *dev);
/* PCI error reporting and recovery */
-void pcie_do_fatal_recovery(struct pci_dev *dev);
+void pcie_do_fatal_recovery(struct pci_dev *dev, u32 service);
void pcie_do_nonfatal_recovery(struct pci_dev *dev);
bool pcie_wait_for_link(struct pci_dev *pdev, bool active);