"...0d0cea2424ae97b27447dc64a7dbfae83c036c45b403392f0e8ba.png" did not exist on "0ce8974d504913a0f0ae2d97b20a5ac665431a41"
memblock: Fix memblock_is_region_reserved() to return a boolean
All callers expect a boolean result which is true if the region
overlaps a reserved region. However, the implementation actually
returns -1 if there is no overlap, and a region index (0 based)
if there is.
Make it behave as callers (and common sense) expect.
Signed-off-by:
Benjamin Herrenschmidt <benh@kernel.crashing.org>
Loading
Please register or sign in to comment