ANDROID: android: export kernel function arch_mmap_rnd
Vendor module needs arch_mmap_rnd() to generate new mm->mmap_base when defining a custom mmap_layout. More details in https://buganizer.corp.google.com/issues/191439466 Bug: 191439466 Signed-off-by: xieliujie <xieliujie@oppo.com> Change-Id: I37644438b4e170732adc62810388450155c178a4
This commit is contained in:
parent
25c7eb4932
commit
d80c70d7a8
1 changed files with 1 additions and 0 deletions
|
|
@ -357,6 +357,7 @@ unsigned long arch_mmap_rnd(void)
|
|||
|
||||
return rnd << PAGE_SHIFT;
|
||||
}
|
||||
EXPORT_SYMBOL_GPL(arch_mmap_rnd);
|
||||
|
||||
static int mmap_is_legacy(struct rlimit *rlim_stack)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue