From 6986b4c889726d4158246457a6dc1f05331b13cb Mon Sep 17 00:00:00 2001 From: davidchiang Date: Thu, 29 Dec 2022 05:45:23 +0000 Subject: [PATCH] ANDROID: mm: Export find_vm_area Export find_vm_area for obtaining pages of vmalloc'ed memory, which is required for both GXP and TPU modules. Bug: 263839332 Change-Id: I1d6c37a5abb6012c3ff295120dd2d3cb2871c820 Signed-off-by: davidchiang --- mm/vmalloc.c | 1 + 1 file changed, 1 insertion(+) diff --git a/mm/vmalloc.c b/mm/vmalloc.c index 28c695f6dca2..8d7fb80b50cf 100644 --- a/mm/vmalloc.c +++ b/mm/vmalloc.c @@ -2515,6 +2515,7 @@ struct vm_struct *find_vm_area(const void *addr) return va->vm; } +EXPORT_SYMBOL_GPL(find_vm_area); /** * remove_vm_area - find and remove a continuous kernel virtual area