From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Chang Ying Date: Thu, 25 Oct 2018 16:20:44 +0800 Subject: [PATCH] mm: export some vm_area APIs These APIs are needed in DMA mapping API implementation as a module. Device specific IOMMUs with associated DMA mapping implementations should be buildable as modules. Change-Id: I46bf3823345ae0bd9cd437ea25b6b29a4b727126 Signed-off-by: Chang Ying Signed-off-by: Meng Wei --- mm/vmalloc.c | 1 + 1 file changed, 1 insertion(+) diff --git a/mm/vmalloc.c b/mm/vmalloc.c index 1817871b0239..38e0277d79aa 100644 --- a/mm/vmalloc.c +++ b/mm/vmalloc.c @@ -1466,6 +1466,7 @@ struct vm_struct *find_vm_area(const void *addr) return NULL; } +EXPORT_SYMBOL_GPL(find_vm_area); /** * remove_vm_area - find and remove a continuous kernel virtual area -- https://clearlinux.org