mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs.git
synced 2026-11-05 17:13:47 +01:00
iommu: Make the iova library a module
The iova library has use outside the intel-iommu driver, thus make it a module. Signed-off-by: Sakari Ailus <[email protected]> Signed-off-by: David Woodhouse <[email protected]>
This commit is contained in:
1 parent
9b41760b03
commit
15bbdec393
2 files changed
+5
-1
No files matched your search
@@ -42,7 +42,7 @@ config IOMMU_IO_PGTABLE_LPAE_SELFTEST
|
||||
endmenu
|
||||
|
||||
config IOMMU_IOVA
|
||||
bool
|
||||
tristate
|
||||
|
||||
config OF_IOMMU
|
||||
def_bool y
|
||||
|
||||
@@ -18,6 +18,7 @@
|
||||
*/
|
||||
|
||||
#include <linux/iova.h>
|
||||
#include <linux/module.h>
|
||||
#include <linux/slab.h>
|
||||
|
||||
void
|
||||
@@ -548,3 +549,6 @@ error:
|
||||
free_iova_mem(prev);
|
||||
return NULL;
|
||||
}
|
||||
|
||||
MODULE_AUTHOR("Anil S Keshavamurthy <[email protected]>");
|
||||
MODULE_LICENSE("GPL");
|
||||
Reference in new issue
Block a user