diff options
author | Ard Biesheuvel <ardb@kernel.org> | 2024-02-14 13:29:09 +0100 |
---|---|---|
committer | Catalin Marinas <catalin.marinas@arm.com> | 2024-02-16 13:42:35 +0100 |
commit | ba5b0333a847ac026725122e085b2fea9e1674bc (patch) | |
tree | 1f3a5259f4c8ba583406481f36b77d2db522ba52 /arch/arm64/include/asm/fixmap.h | |
parent | arm64: mm: avoid fixmap for early swapper_pg_dir updates (diff) | |
download | linux-ba5b0333a847ac026725122e085b2fea9e1674bc.tar.xz linux-ba5b0333a847ac026725122e085b2fea9e1674bc.zip |
arm64: mm: omit redundant remap of kernel image
Now that the early kernel mapping is created with all the right
attributes and segment boundaries, there is no longer a need to recreate
it and switch to it. This also means we no longer have to copy the kasan
shadow or some parts of the fixmap from one set of page tables to the
other.
Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
Link: https://lore.kernel.org/r/20240214122845.2033971-68-ardb+git@google.com
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Diffstat (limited to 'arch/arm64/include/asm/fixmap.h')
-rw-r--r-- | arch/arm64/include/asm/fixmap.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/arm64/include/asm/fixmap.h b/arch/arm64/include/asm/fixmap.h index 58c294a96676..8aabd45e9a13 100644 --- a/arch/arm64/include/asm/fixmap.h +++ b/arch/arm64/include/asm/fixmap.h @@ -100,7 +100,6 @@ enum fixed_addresses { #define FIXMAP_PAGE_IO __pgprot(PROT_DEVICE_nGnRE) void __init early_fixmap_init(void); -void __init fixmap_copy(pgd_t *pgdir); #define __early_set_fixmap __set_fixmap |