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 <davidchiang@google.com>
This commit is contained in:
davidchiang
2022-12-29 05:45:23 +00:00
parent 37d8fe8dc3
commit d0822a3f9b

View File

@@ -2514,6 +2514,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