Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
mmu: fix virt_region_alloc() unused region free when aligned
In the case where the aligned memory range is on top of the allocated memory range, freeing the 0 sized top unused memory will trigger an assert in the virt_region_free() call since vaddr could be equal to Z_VIRT_REGION_END_ADDR. Signed-off-by: Neil Armstrong <[email protected]>
- Loading branch information