ANDROID: GKI: memblock: Add memblock_overlaps_memory() to fix ABI diff
This is needed to reduce the ABI diff for vendors. Add a new function, memblock_overlaps_memory(), to check if a region overlaps with a memory bank. This will be used by peripheral loader code to detect when kernel memory would be overwritten. Signed-off-by:Swathi Sridhar <swatsrid@codeaurora.org> (cherry picked from commit bbbc80b6d8b75ffea6a0eb1f53ab503ccf0011f1) [surenb: cherry-picked parts from: bbbc80b6d8b75 "ion : Merge ion changes..." to fix ABI diff caused by memblock_overlaps_memory function] Signed-off-by:
Suren Baghdasaryan <surenb@google.com> Bug: 150875716 Test: build Change-Id: I6ee723c99ef171f23a621d130eded843222ba4f7
Loading
Please register or sign in to comment