2019-03-29 14:12:17 +08:00
|
|
|
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
2018-11-06 04:14:04 +08:00
|
|
|
From: Chang Ying <ying.chang@intel.com>
|
|
|
|
Date: Thu, 25 Oct 2018 16:20:44 +0800
|
2019-03-29 14:12:17 +08:00
|
|
|
Subject: [PATCH] mm: export some vm_area APIs
|
2018-11-06 04:14:04 +08:00
|
|
|
|
|
|
|
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
|
2018-11-06 04:14:04 +08:00
|
|
|
--- 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)
|
2018-11-06 04:14:04 +08:00
|
|
|
|
|
|
|
return NULL;
|
|
|
|
}
|
|
|
|
+EXPORT_SYMBOL_GPL(find_vm_area);
|
|
|
|
|
|
|
|
/**
|
|
|
|
* remove_vm_area - find and remove a continuous kernel virtual area
|
|
|
|
--
|
2019-04-08 18:08:36 +08:00
|
|
|
https://clearlinux.org
|
2018-11-06 04:14:04 +08:00
|
|
|
|