+20
−9
Loading
Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more
create_mapping is only used in fixmap_remap_fdt. All the create_mapping calls need to happen on existing translation table pages without additional allocations. Rather than have an alloc function be called and fail, just set it to NULL and catch its use. Also change the name to create_mapping_noalloc to better capture what exactly is going on. Reviewed-by:Ard Biesheuvel <ard.biesheuvel@linaro.org> Reviewed-by:
Mark Rutland <mark.rutland@arm.com> Signed-off-by:
Laura Abbott <labbott@fedoraproject.org> Signed-off-by:
Catalin Marinas <catalin.marinas@arm.com> (cherry picked from commit 132233a759580f5ce9b1bfaac9073e47d03c460d) Signed-off-by:
Alex Shi <alex.shi@linaro.org>