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:
committed by
Treehugger Robot
parent
b35c610aca
commit
6986b4c889
@@ -2515,6 +2515,7 @@ struct vm_struct *find_vm_area(const void *addr)
|
|||||||
|
|
||||||
return va->vm;
|
return va->vm;
|
||||||
}
|
}
|
||||||
|
EXPORT_SYMBOL_GPL(find_vm_area);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* remove_vm_area - find and remove a continuous kernel virtual area
|
* remove_vm_area - find and remove a continuous kernel virtual area
|
||||||
|
|||||||
Reference in New Issue
Block a user