aboutsummaryrefslogtreecommitdiff
path: root/arch/arm64/mm/flush.c
diff options
context:
space:
mode:
authorMark Rutland <[email protected]>2016-03-22 10:11:45 +0000
committerCatalin Marinas <[email protected]>2016-03-24 16:32:29 +0000
commitc661cb1c537e2364bfdabb298fb934fd77445e98 (patch)
treee4c6a6b752fa1a74019f0fa9d56a8b360ec296fc /arch/arm64/mm/flush.c
parentd5e5743797adc26e09db262e7a4b6b81d8c0f45c (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 <[email protected]> Cc: Ard Biesheuvel <[email protected]> Cc: Will Deacon <[email protected]> Signed-off-by: Catalin Marinas <[email protected]>
Diffstat (limited to 'arch/arm64/mm/flush.c')
0 files changed, 0 insertions, 0 deletions