clear-pkgs-linux-iot-lts2018/0044-mm-export-some-vm_area...

32 lines
920 B
Diff
Raw Permalink Normal View History

From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: Chang Ying <ying.chang@intel.com>
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 <ying.chang@intel.com>
Signed-off-by: Meng Wei <wei.meng@intel.com>
---
mm/vmalloc.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/mm/vmalloc.c b/mm/vmalloc.c
2020-10-27 02:14:06 +08:00
index 1817871b0239..38e0277d79aa 100644
--- a/mm/vmalloc.c
+++ b/mm/vmalloc.c
2020-05-05 09:02:46 +08:00
@@ -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