From aa5b9c9a2145b4f2cb5f46eae4ceb390401320a9 Mon Sep 17 00:00:00 2001 From: Unnathi Chalicheemala Date: Wed, 23 Oct 2024 14:17:09 -0700 Subject: [PATCH] ANDROID: mm: Export __get_unmapped_area symbol Vendor kernel modules use get_unmapped_area() as a static inline function which needs __get_unmapped_area symbol exported. Bug: 375219028 Change-Id: I4139466ce139c8fbe5e32eb8b3801f90e3a2ac55 Signed-off-by: Unnathi Chalicheemala --- mm/mmap.c | 1 + 1 file changed, 1 insertion(+) diff --git a/mm/mmap.c b/mm/mmap.c index d2c132dc6521..c0a37c5f693a 100644 --- a/mm/mmap.c +++ b/mm/mmap.c @@ -920,6 +920,7 @@ __get_unmapped_area(struct file *file, unsigned long addr, unsigned long len, error = security_mmap_addr(addr); return error ? error : addr; } +EXPORT_SYMBOL(__get_unmapped_area); unsigned long mm_get_unmapped_area(struct mm_struct *mm, struct file *file,