diff options
Diffstat (limited to 'include/misc/cxl-base.h')
-rw-r--r-- | include/misc/cxl-base.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/include/misc/cxl-base.h b/include/misc/cxl-base.h index bb7e629ae492..f53808fa638a 100644 --- a/include/misc/cxl-base.h +++ b/include/misc/cxl-base.h | |||
@@ -10,8 +10,6 @@ | |||
10 | #ifndef _MISC_CXL_BASE_H | 10 | #ifndef _MISC_CXL_BASE_H |
11 | #define _MISC_CXL_BASE_H | 11 | #define _MISC_CXL_BASE_H |
12 | 12 | ||
13 | #include <misc/cxl.h> | ||
14 | |||
15 | #ifdef CONFIG_CXL_BASE | 13 | #ifdef CONFIG_CXL_BASE |
16 | 14 | ||
17 | #define CXL_IRQ_RANGES 4 | 15 | #define CXL_IRQ_RANGES 4 |
@@ -41,8 +39,6 @@ static inline void cxl_ctx_put(void) | |||
41 | struct cxl_afu *cxl_afu_get(struct cxl_afu *afu); | 39 | struct cxl_afu *cxl_afu_get(struct cxl_afu *afu); |
42 | void cxl_afu_put(struct cxl_afu *afu); | 40 | void cxl_afu_put(struct cxl_afu *afu); |
43 | void cxl_slbia(struct mm_struct *mm); | 41 | void cxl_slbia(struct mm_struct *mm); |
44 | bool cxl_pci_associate_default_context(struct pci_dev *dev, struct cxl_afu *afu); | ||
45 | void cxl_pci_disable_device(struct pci_dev *dev); | ||
46 | 42 | ||
47 | #else /* CONFIG_CXL_BASE */ | 43 | #else /* CONFIG_CXL_BASE */ |
48 | 44 | ||
@@ -50,8 +46,6 @@ static inline bool cxl_ctx_in_use(void) { return false; } | |||
50 | static inline struct cxl_afu *cxl_afu_get(struct cxl_afu *afu) { return NULL; } | 46 | static inline struct cxl_afu *cxl_afu_get(struct cxl_afu *afu) { return NULL; } |
51 | static inline void cxl_afu_put(struct cxl_afu *afu) {} | 47 | static inline void cxl_afu_put(struct cxl_afu *afu) {} |
52 | static inline void cxl_slbia(struct mm_struct *mm) {} | 48 | static inline void cxl_slbia(struct mm_struct *mm) {} |
53 | static inline bool cxl_pci_associate_default_context(struct pci_dev *dev, struct cxl_afu *afu) { return false; } | ||
54 | static inline void cxl_pci_disable_device(struct pci_dev *dev) {} | ||
55 | 49 | ||
56 | #endif /* CONFIG_CXL_BASE */ | 50 | #endif /* CONFIG_CXL_BASE */ |
57 | 51 | ||