提交 201c1db9 编写于 作者: J Joerg Roedel

iommu/iova: Fix compilation error with !CONFIG_IOMMU_IOVA

The stub function for !CONFIG_IOMMU_IOVA needs to be
'static inline'.

Fixes: effa4678 ('iommu/vt-d: Don't queue_iova() if there is no flush queue')
Signed-off-by: NJoerg Roedel <jroedel@suse.de>
上级 7f6cade5
...@@ -236,7 +236,7 @@ static inline void init_iova_domain(struct iova_domain *iovad, ...@@ -236,7 +236,7 @@ static inline void init_iova_domain(struct iova_domain *iovad,
{ {
} }
bool has_iova_flush_queue(struct iova_domain *iovad) static inline bool has_iova_flush_queue(struct iova_domain *iovad)
{ {
return false; return false;
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册