diff options
| author | Mike Rapoport <[email protected]> | 2019-06-18 07:32:29 +0000 |
|---|---|---|
| committer | Will Deacon <[email protected]> | 2019-06-18 13:37:28 +0000 |
| commit | 615c48ad8f4275b4d39fa57df68d4015078be201 (patch) | |
| tree | d30ad9da197028f18023b64e051c264484628b68 /lib/mpi/mpi-pow.c | |
| parent | MAINTAINERS: Update my email address (diff) | |
| download | kernel-615c48ad8f4275b4d39fa57df68d4015078be201.tar.gz kernel-615c48ad8f4275b4d39fa57df68d4015078be201.zip | |
arm64/mm: don't initialize pgd_cache twice
When PGD_SIZE != PAGE_SIZE, arm64 uses kmem_cache for allocation of PGD
memory. That cache was initialized twice: first through
pgtable_cache_init() alias and then as an override for weak
pgd_cache_init().
Remove the alias from pgtable_cache_init() and keep the only pgd_cache
initialization in pgd_cache_init().
Fixes: caa841360134 ("x86/mm: Initialize PGD cache during mm initialization")
Signed-off-by: Mike Rapoport <[email protected]>
Signed-off-by: Will Deacon <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-pow.c')
0 files changed, 0 insertions, 0 deletions
