ARM: split off core mapping logic from create_mapping
authorArd Biesheuvel <ard.biesheuvel@linaro.org>
Tue, 15 Sep 2015 12:50:22 +0000 (14:50 +0200)
committerard <ard.biesheuvel@linaro.org>
Sun, 13 Dec 2015 18:18:28 +0000 (19:18 +0100)
commit1bdb2d4ee05f2fdad4d8a82d7e0ce8d6d91ec4ac
treeaf0656e07c2a2501c8f0b8935dc008a09b7454ba
parent2937367b8a4b0d46ce3312cb997e4a240b02cf15
ARM: split off core mapping logic from create_mapping

In order to be able to reuse the core mapping logic of create_mapping
for mapping the UEFI Runtime Services into a private set of page tables,
split it off from create_mapping() into a separate function
__create_mapping which we will wire up in a subsequent patch.

Tested-by: Ryan Harkin <ryan.harkin@linaro.org>
Reviewed-by: Matt Fleming <matt@codeblueprint.co.uk>
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
arch/arm/mm/mmu.c