From b21d7a0f7ba2a830596b1fe4e53be9773737dd82 Mon Sep 17 00:00:00 2001 From: Quentin Perret Date: Tue, 19 Nov 2019 15:48:01 +0000 Subject: [PATCH] ANDROID: GKI: mm/memblock: export memblock_overlaps_memory The PIL driver needs it, export the symbol to enable compilation as a module. Bug: 144523239 Change-Id: I43692fa55d17c3196719c6606766d4fd5c5f6c65 Signed-off-by: Quentin Perret Signed-off-by: Saravana Kannan --- mm/memblock.c | 1 + 1 file changed, 1 insertion(+) diff --git a/mm/memblock.c b/mm/memblock.c index f81d494e1945..6e317a527d3c 100644 --- a/mm/memblock.c +++ b/mm/memblock.c @@ -1780,6 +1780,7 @@ bool __init_memblock memblock_overlaps_memory(phys_addr_t base, return memblock_overlaps_region(&memblock.memory, base, size); } +EXPORT_SYMBOL_GPL(memblock_overlaps_memory); /** * memblock_is_region_reserved - check if a region intersects reserved memory