Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit fe48ed94 authored by Stephen Boyd's avatar Stephen Boyd Committed by Suren Baghdasaryan
Browse files

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: default avatarSwathi 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: default avatarSuren Baghdasaryan <surenb@google.com>
Bug: 150875716
Test: build
Change-Id: I6ee723c99ef171f23a621d130eded843222ba4f7
parent f32f289c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment