]> git.baikalelectronics.ru Git - kernel.git/commit
arm64: Drop alloc function from create_mapping
authorLaura Abbott <labbott@fedoraproject.org>
Sat, 6 Feb 2016 00:24:46 +0000 (16:24 -0800)
committerCatalin Marinas <catalin.marinas@arm.com>
Tue, 16 Feb 2016 15:12:34 +0000 (15:12 +0000)
commit59022f5e6097da24f2e29ab4dcdda531a252272b
treef016316a4b5a3941bdb5f2efcca1f2938f459103
parent5f5ddc8d5d810df386ca385d36176ff2ed4b77e3
arm64: Drop alloc function from create_mapping

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>
arch/arm64/mm/mmu.c