ANDROID: android: export kernel function vm_unmapped_area
In our vendor driver, we need to call the following function: mm/mmap.c : unsigned long vm_unmapped_area(struct vm_unmapped_area_info *info); Bug: 191439466 Signed-off-by: xieliujie <xieliujie@oppo.com> Change-Id: I8eb0f8cc80ab7a0ebc9db3e3b217be94843da3ed
This commit is contained in:

committed by
Suren Baghdasaryan

parent
964220d080
commit
c0efdc4a5e
@@ -2214,6 +2214,7 @@ unsigned long vm_unmapped_area(struct vm_unmapped_area_info *info)
|
|||||||
trace_vm_unmapped_area(addr, info);
|
trace_vm_unmapped_area(addr, info);
|
||||||
return addr;
|
return addr;
|
||||||
}
|
}
|
||||||
|
EXPORT_SYMBOL_GPL(vm_unmapped_area);
|
||||||
|
|
||||||
#ifndef arch_get_mmap_end
|
#ifndef arch_get_mmap_end
|
||||||
#define arch_get_mmap_end(addr) (TASK_SIZE)
|
#define arch_get_mmap_end(addr) (TASK_SIZE)
|
||||||
|
Reference in New Issue
Block a user