]> git.baikalelectronics.ru Git - kernel.git/commit
arm64: mm: Consolidate early page table allocation
authorWill Deacon <will.deacon@arm.com>
Mon, 8 Apr 2019 10:23:48 +0000 (11:23 +0100)
committerWill Deacon <will.deacon@arm.com>
Tue, 9 Apr 2019 10:21:50 +0000 (11:21 +0100)
commit7c83460a9ebc74108c5b961f74620780ad2dfc5a
tree1eeac165fd0bc96aa56f33790bd3316861f51f6a
parent98c782a534b8d57781decd8f5fd827c1373d4023
arm64: mm: Consolidate early page table allocation

The logic for early allocation of page tables is duplicated between
pgd_kernel_pgtable_alloc() and pgd_pgtable_alloc(). Drop the duplication
by calling one from the other and renaming pgd_kernel_pgtable_alloc()
accordingly.

Signed-off-by: Will Deacon <will.deacon@arm.com>
arch/arm64/mm/mmu.c