|
@@ -82,7 +82,7 @@ static inline unsigned long iova_pfn(struct iova_domain *iovad, dma_addr_t iova)
|
|
return iova >> iova_shift(iovad);
|
|
return iova >> iova_shift(iovad);
|
|
}
|
|
}
|
|
|
|
|
|
-#ifdef CONFIG_IOMMU_IOVA
|
|
|
|
|
|
+#if IS_ENABLED(CONFIG_IOMMU_IOVA)
|
|
int iova_cache_get(void);
|
|
int iova_cache_get(void);
|
|
void iova_cache_put(void);
|
|
void iova_cache_put(void);
|
|
|
|
|