summaryrefslogtreecommitdiff
path: root/firmware/cxgb3
diff options
context:
space:
mode:
authorMark Rutland <mark.rutland@arm.com>2016-01-25 11:45:10 (GMT)
committerCatalin Marinas <catalin.marinas@arm.com>2016-02-16 15:10:46 (GMT)
commit11509a306bb6ea595878b2d246d2d56b1783e040 (patch)
tree85c11a40af206f2d859dbc90ebf73105e215ef32 /firmware/cxgb3
parentcdef5f6e9e0e5ee397759b664a9f875ff59ccf01 (diff)
downloadlinux-11509a306bb6ea595878b2d246d2d56b1783e040.tar.xz
arm64: mm: allow passing a pgdir to alloc_init_*
To allow us to initialise pgdirs which are fixmapped, allow explicitly passing a pgdir rather than an mm. A new __create_pgd_mapping function is added for this, with existing __create_mapping callers migrated to this. The mm argument was previously only used at the top level. Now that it is redundant at all levels, it is removed. To indicate its new found similarity to alloc_init_{pud,pmd,pte}, __create_mapping is renamed to init_pgd. Signed-off-by: Mark Rutland <mark.rutland@arm.com> Reviewed-by: Catalin Marinas <catalin.marinas@arm.com> Tested-by: Ard Biesheuvel <ard.biesheuvel@linaro.org> Reviewed-by: Ard Biesheuvel <ard.biesheuvel@linaro.org> Tested-by: Jeremy Linton <jeremy.linton@arm.com> Cc: Laura Abbott <labbott@fedoraproject.org> Cc: Will Deacon <will.deacon@arm.com> Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Diffstat (limited to 'firmware/cxgb3')
0 files changed, 0 insertions, 0 deletions