summaryrefslogtreecommitdiff
path: root/lib/mpi/mpicoder.c
diff options
context:
space:
mode:
authorMark Rutland <mark.rutland@arm.com>2016-03-22 10:11:45 +0000
committerAlex Shi <alex.shi@linaro.org>2016-05-12 08:40:51 +0800
commit2426266ca6318722160645a720bd02bece8400c7 (patch)
treef72df7cc93f5ffa9a3e5149e9bc955c9195a1ef7 /lib/mpi/mpicoder.c
parentf2971e0e6c42c2b0197e43280ef6a48d8a46097e (diff)
arm64: consistently use p?d_set_huge
Commit 324420bf91f60582 ("arm64: add support for ioremap() block mappings") added new p?d_set_huge functions which do the hard work to generate and set a correct block entry. These differ from open-coded huge page creation in the early page table code by explicitly setting the P?D_TYPE_SECT bits (which are implicitly retained by mk_sect_prot() for any valid prot), but are otherwise identical (and cannot fail on arm64). For simplicity and consistency, make use of these in the initial page table creation code. Signed-off-by: Mark Rutland <mark.rutland@arm.com> Cc: Ard Biesheuvel <ard.biesheuvel@linaro.org> Cc: Will Deacon <will.deacon@arm.com> Signed-off-by: Catalin Marinas <catalin.marinas@arm.com> (cherry picked from commit c661cb1c537e2364bfdabb298fb934fd77445e98) Signed-off-by: Alex Shi <alex.shi@linaro.org>
Diffstat (limited to 'lib/mpi/mpicoder.c')
0 files changed, 0 insertions, 0 deletions