summaryrefslogtreecommitdiffstats
path: root/init/calibrate.c
diff options
context:
space:
mode:
authorArd Biesheuvel <ard.biesheuvel@linaro.org>2015-09-15 14:59:14 +0200
committerard <ard.biesheuvel@linaro.org>2015-12-13 19:18:29 +0100
commitf579b2b10412771ad5eaa785ddaa7b62b97a6e8d (patch)
tree4f002f657e73496ab358f6236e41df0e820d2402 /init/calibrate.c
parent1bdb2d4ee05f2fdad4d8a82d7e0ce8d6d91ec4ac (diff)
downloadlinux-f579b2b10412771ad5eaa785ddaa7b62b97a6e8d.tar.bz2
ARM: factor out allocation routine from __create_mapping()
To allow __create_mapping() to be used for populating UEFI Runtime Services page tables, factor out the allocation routine 'early_alloc' and pass it down as a function pointer into alloc_init_[pud|pmd|pte]. This way, new users of __create_mapping() can supply another allocation function. 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>
Diffstat (limited to 'init/calibrate.c')
0 files changed, 0 insertions, 0 deletions