]> git.baikalelectronics.ru Git - kernel.git/commit
iommu/iova: Fix compilation error with !CONFIG_IOMMU_IOVA
authorJoerg Roedel <jroedel@suse.de>
Tue, 23 Jul 2019 07:51:00 +0000 (09:51 +0200)
committerJoerg Roedel <jroedel@suse.de>
Tue, 23 Jul 2019 07:51:00 +0000 (09:51 +0200)
commite954f57ab6fe6ba88f7ce481738a653b7ed37a27
treedaf2db89c3fdd8c5239b9f29003713df9255903e
parent25816f06f118dfe83cc7f9da6a35478ef19e0cb7
iommu/iova: Fix compilation error with !CONFIG_IOMMU_IOVA

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

Fixes: 8dd55851b0591 ('iommu/vt-d: Don't queue_iova() if there is no flush queue')
Signed-off-by: Joerg Roedel <jroedel@suse.de>
include/linux/iova.h