diff options
author | Quentin Perret <qperret@google.com> | 2021-12-08 16:22:57 +0100 |
---|---|---|
committer | Marc Zyngier <maz@kernel.org> | 2021-12-15 15:17:30 +0100 |
commit | 473a3efbafaa9ffd06c8b8f653f24c97b5ac3ff0 (patch) | |
tree | ef093bfced53f12f66393752f2881ec6b38d9af3 /arch/arm64/kvm/hyp/include/nvhe/mm.h | |
parent | KVM: arm64: Make the hyp memory pool static (diff) | |
download | linux-473a3efbafaa9ffd06c8b8f653f24c97b5ac3ff0.tar.xz linux-473a3efbafaa9ffd06c8b8f653f24c97b5ac3ff0.zip |
KVM: arm64: Make __io_map_base static
The __io_map_base variable is used at EL2 to track the end of the
hypervisor's "private" VA range in nVHE protected mode. However it
doesn't need to be used outside of mm.c, so let's make it static to keep
all the hyp VA allocation logic in one place.
Signed-off-by: Quentin Perret <qperret@google.com>
Acked-by: Will Deacon <will@kernel.org>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20211208152300.2478542-5-qperret@google.com
Diffstat (limited to 'arch/arm64/kvm/hyp/include/nvhe/mm.h')
-rw-r--r-- | arch/arm64/kvm/hyp/include/nvhe/mm.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/arm64/kvm/hyp/include/nvhe/mm.h b/arch/arm64/kvm/hyp/include/nvhe/mm.h index 75f58b783fd7..5ed5ba637d00 100644 --- a/arch/arm64/kvm/hyp/include/nvhe/mm.h +++ b/arch/arm64/kvm/hyp/include/nvhe/mm.h @@ -15,7 +15,6 @@ extern struct memblock_region kvm_nvhe_sym(hyp_memory)[]; extern unsigned int kvm_nvhe_sym(hyp_memblock_nr); extern struct kvm_pgtable pkvm_pgtable; extern hyp_spinlock_t pkvm_pgd_lock; -extern u64 __io_map_base; int hyp_create_idmap(u32 hyp_va_bits); int hyp_map_vectors(void); |