summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorNiklas Schnelle <schnelle@linux.ibm.com>2025-08-07 16:55:39 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2025-12-07 00:12:19 +0300
commitc17c3ef138cfe451ac9ca17d1f1505dca49b7318 (patch)
treed59ab1309228fa0ac8ca84cd23bf2fca31294c16 /include/linux
parent5fbc477289f1a9ddb460796abe95febd81220130 (diff)
downloadlinux-c17c3ef138cfe451ac9ca17d1f1505dca49b7318.tar.xz
s390/pci: Use pci_uevent_ers() in PCI recovery
[ Upstream commit dab32f2576a39d5f54f3dbbbc718d92fa5109ce9 ] Issue uevents on s390 during PCI recovery using pci_uevent_ers() as done by EEH and AER PCIe recovery routines. Signed-off-by: Niklas Schnelle <schnelle@linux.ibm.com> Signed-off-by: Bjorn Helgaas <bhelgaas@google.com> Reviewed-by: Lukas Wunner <lukas@wunner.de> Link: https://patch.msgid.link/20250807-add_err_uevents-v5-2-adf85b0620b0@linux.ibm.com Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/pci.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/pci.h b/include/linux/pci.h
index ea50d050d021..e10b54642b7f 100644
--- a/include/linux/pci.h
+++ b/include/linux/pci.h
@@ -2561,7 +2561,7 @@ static inline bool pci_is_thunderbolt_attached(struct pci_dev *pdev)
return false;
}
-#if defined(CONFIG_PCIEPORTBUS) || defined(CONFIG_EEH)
+#if defined(CONFIG_PCIEPORTBUS) || defined(CONFIG_EEH) || defined(CONFIG_S390)
void pci_uevent_ers(struct pci_dev *pdev, enum pci_ers_result err_type);
#endif