diff options
author | Joerg Roedel <jroedel@suse.de> | 2019-07-23 09:51:00 +0200 |
---|---|---|
committer | Joerg Roedel <jroedel@suse.de> | 2019-07-23 09:51:00 +0200 |
commit | 201c1db90cd643282185a00770f12f95da330eca (patch) | |
tree | daf2db89c3fdd8c5239b9f29003713df9255903e /include/linux/iova.h | |
parent | 7f6cade5b6bf47daa315118a05aab613c73462ff (diff) | |
download | linux-201c1db90cd643282185a00770f12f95da330eca.tar.gz linux-201c1db90cd643282185a00770f12f95da330eca.tar.bz2 linux-201c1db90cd643282185a00770f12f95da330eca.zip |
iommu/iova: Fix compilation error with !CONFIG_IOMMU_IOVA
The stub function for !CONFIG_IOMMU_IOVA needs to be
'static inline'.
Fixes: effa467870c76 ('iommu/vt-d: Don't queue_iova() if there is no flush queue')
Signed-off-by: Joerg Roedel <jroedel@suse.de>
Diffstat (limited to 'include/linux/iova.h')
-rw-r--r-- | include/linux/iova.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/iova.h b/include/linux/iova.h index cd0f1de901a8..a0637abffee8 100644 --- a/include/linux/iova.h +++ b/include/linux/iova.h @@ -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; } |