Commit 8885c739 authored by Ard Biesheuvel's avatar Ard Biesheuvel Committed by Will Deacon
Browse files

arm64: mm: Only map KPTI trampoline if it is going to be used



Avoid creating the fixmap entries for the KPTI trampoline if KPTI is not
in use.

Signed-off-by: default avatarArd Biesheuvel <ardb@kernel.org>
Acked-by: default avatarMark Rutland <mark.rutland@arm.com>
Link: https://lore.kernel.org/r/20231127120049.2258650-7-ardb@google.com


Signed-off-by: default avatarWill Deacon <will@kernel.org>
parent 103423ad
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment