aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/include/misc/cxl-base.h
diff options
context:
space:
mode:
authorAlastair D'Silva <alastair@d-silva.org>2018-06-28 12:05:01 +0200
committerMichael Ellerman <mpe@ellerman.id.au>2018-07-02 23:54:30 +1000
commit0cfd7335d1ebea42cf113fd22452f6a10d3960fe (patch)
tree6fe4c81a99b483601c0213a5212f30cdd7383320 /include/misc/cxl-base.h
parentRevert "cxl: Add kernel API to allow a context to operate with relocate disabled" (diff)
downloadwireguard-linux-0cfd7335d1ebea42cf113fd22452f6a10d3960fe.tar.xz
wireguard-linux-0cfd7335d1ebea42cf113fd22452f6a10d3960fe.zip
Revert "cxl: Add support for interrupts on the Mellanox CX4"
Remove abandonned capi support for the Mellanox CX4. This reverts commit a2f67d5ee8d950caaa7a6144cf0bfb256500b73e. Signed-off-by: Alastair D'Silva <alastair@d-silva.org> Acked-by: Andrew Donnellan <andrew.donnellan@au1.ibm.com> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to '')
-rw-r--r--include/misc/cxl-base.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/include/misc/cxl-base.h b/include/misc/cxl-base.h
index b2ebc91fe09a..bb7e629ae492 100644
--- a/include/misc/cxl-base.h
+++ b/include/misc/cxl-base.h
@@ -43,8 +43,6 @@ void cxl_afu_put(struct cxl_afu *afu);
void cxl_slbia(struct mm_struct *mm);
bool cxl_pci_associate_default_context(struct pci_dev *dev, struct cxl_afu *afu);
void cxl_pci_disable_device(struct pci_dev *dev);
-int cxl_cx4_setup_msi_irqs(struct pci_dev *pdev, int nvec, int type);
-void cxl_cx4_teardown_msi_irqs(struct pci_dev *pdev);
#else /* CONFIG_CXL_BASE */
@@ -54,8 +52,6 @@ static inline void cxl_afu_put(struct cxl_afu *afu) {}
static inline void cxl_slbia(struct mm_struct *mm) {}
static inline bool cxl_pci_associate_default_context(struct pci_dev *dev, struct cxl_afu *afu) { return false; }
static inline void cxl_pci_disable_device(struct pci_dev *dev) {}
-static inline int cxl_cx4_setup_msi_irqs(struct pci_dev *pdev, int nvec, int type) { return -ENODEV; }
-static inline void cxl_cx4_teardown_msi_irqs(struct pci_dev *pdev) {}
#endif /* CONFIG_CXL_BASE */