|
@@ -290,24 +290,6 @@ void __pci_read_msi_msg(struct msi_desc *entry, struct msi_msg *msg)
|
|
|
}
|
|
|
}
|
|
|
|
|
|
-void __get_cached_msi_msg(struct msi_desc *entry, struct msi_msg *msg)
|
|
|
-{
|
|
|
- /* Assert that the cache is valid, assuming that
|
|
|
- * valid messages are not all-zeroes. */
|
|
|
- BUG_ON(!(entry->msg.address_hi | entry->msg.address_lo |
|
|
|
- entry->msg.data));
|
|
|
-
|
|
|
- *msg = entry->msg;
|
|
|
-}
|
|
|
-
|
|
|
-void get_cached_msi_msg(unsigned int irq, struct msi_msg *msg)
|
|
|
-{
|
|
|
- struct msi_desc *entry = irq_get_msi_desc(irq);
|
|
|
-
|
|
|
- __get_cached_msi_msg(entry, msg);
|
|
|
-}
|
|
|
-EXPORT_SYMBOL_GPL(get_cached_msi_msg);
|
|
|
-
|
|
|
void __pci_write_msi_msg(struct msi_desc *entry, struct msi_msg *msg)
|
|
|
{
|
|
|
if (entry->dev->current_state != PCI_D0) {
|