aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorOliver O'Halloran <oohall@gmail.com>2019-08-01 16:44:23 +1000
committerOliver O'Halloran <oohall@gmail.com>2019-08-02 15:22:12 +1000
commit452a9a46bcf7ecc8c8a0d0f48b273cb2658183eb (patch)
treee3842d6afdf74a56dca3abbf4903aa3caca0bfaa /include
parent9142bb3b3de26d6b77b1eee24e36414a9b95f9cb (diff)
downloadskiboot-452a9a46bcf7ecc8c8a0d0f48b273cb2658183eb.zip
skiboot-452a9a46bcf7ecc8c8a0d0f48b273cb2658183eb.tar.gz
skiboot-452a9a46bcf7ecc8c8a0d0f48b273cb2658183eb.tar.bz2
core/pci: Export pci_check_clear_freeze()
We'd like to be able to check when we get a freeze in the quirk handling code. Make pci_check_clear_freeze un-static so it can be used elsewhere. Signed-off-by: Oliver O'Halloran <oohall@gmail.com> Reviewed-By: Alistair Popple <alistair@popple.id.au>
Diffstat (limited to 'include')
-rw-r--r--include/pci.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/pci.h b/include/pci.h
index b840409..18deb2f 100644
--- a/include/pci.h
+++ b/include/pci.h
@@ -392,6 +392,8 @@ static inline void phb_unlock(struct phb *phb)
unlock(&phb->lock);
}
+bool pci_check_clear_freeze(struct phb *phb);
+
/* Config space ops wrappers */
static inline int64_t pci_cfg_read8(struct phb *phb, uint32_t bdfn,
uint32_t offset, uint8_t *data)