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 <qperret@google.com>
Signed-off-by: Saravana Kannan <saravanak@google.com>
This commit is contained in:
Quentin Perret
2019-11-19 15:48:01 +00:00
committed by Saravana Kannan
parent 3b0049b82e
commit b21d7a0f7b

View File

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