projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7f6cade
)
iommu/iova: Fix compilation error with !CONFIG_IOMMU_IOVA
author
Joerg Roedel
<jroedel@suse.de>
Tue, 23 Jul 2019 07:51:00 +0000
(09:51 +0200)
committer
Joerg Roedel
<jroedel@suse.de>
Tue, 23 Jul 2019 07:51:00 +0000
(09:51 +0200)
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>
include/linux/iova.h
patch
|
blob
|
history
diff --git
a/include/linux/iova.h
b/include/linux/iova.h
index cd0f1de901a8335a9b4d4c30b55faffbb10de0d0..a0637abffee88b0f0b12f3c6520cd5d2d77e779d 100644
(file)
--- 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;
}