summaryrefslogtreecommitdiffstats
path: root/arch/arm64/kvm/hyp/include/nvhe/mm.h
diff options
context:
space:
mode:
authorQuentin Perret <qperret@google.com>2021-08-09 17:24:48 +0200
committerMarc Zyngier <maz@kernel.org>2021-08-11 12:39:52 +0200
commit64a80fb766f9a91e26930bfc56d8e7c12425df12 (patch)
treefaaa82d24c9fe89f55688e87d904b1c9db0cfef3 /arch/arm64/kvm/hyp/include/nvhe/mm.h
parentKVM: arm64: Restrict EL2 stage-1 changes in protected mode (diff)
downloadlinux-64a80fb766f9a91e26930bfc56d8e7c12425df12.tar.xz
linux-64a80fb766f9a91e26930bfc56d8e7c12425df12.zip
KVM: arm64: Make __pkvm_create_mappings static
The __pkvm_create_mappings() function is no longer used outside of nvhe/mm.c, make it static. Signed-off-by: Quentin Perret <qperret@google.com> Reviewed-by: Fuad Tabba <tabba@google.com> Signed-off-by: Marc Zyngier <maz@kernel.org> Link: https://lore.kernel.org/r/20210809152448.1810400-22-qperret@google.com
Diffstat (limited to 'arch/arm64/kvm/hyp/include/nvhe/mm.h')
-rw-r--r--arch/arm64/kvm/hyp/include/nvhe/mm.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/arm64/kvm/hyp/include/nvhe/mm.h b/arch/arm64/kvm/hyp/include/nvhe/mm.h
index c76d7136ed9b..c9a8f535212e 100644
--- a/arch/arm64/kvm/hyp/include/nvhe/mm.h
+++ b/arch/arm64/kvm/hyp/include/nvhe/mm.h
@@ -24,8 +24,6 @@ int hyp_back_vmemmap(phys_addr_t phys, unsigned long size, phys_addr_t back);
int pkvm_cpu_set_vector(enum arm64_hyp_spectre_vector slot);
int pkvm_create_mappings(void *from, void *to, enum kvm_pgtable_prot prot);
int pkvm_create_mappings_locked(void *from, void *to, enum kvm_pgtable_prot prot);
-int __pkvm_create_mappings(unsigned long start, unsigned long size,
- unsigned long phys, enum kvm_pgtable_prot prot);
unsigned long __pkvm_create_private_mapping(phys_addr_t phys, size_t size,
enum kvm_pgtable_prot prot);