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:
xieliujie
2021-07-03 16:59:16 +08:00
committed by Suren Baghdasaryan
parent 25c7eb4932
commit d80c70d7a8

View File

@@ -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)
{