From ecc14b0dae3b1b2e33e8a5cebbff3f116f89e649 Mon Sep 17 00:00:00 2001 From: Quentin Perret Date: Thu, 6 Jan 2022 11:09:41 +0000 Subject: [PATCH] Revert "FROMLIST: KVM: arm64: Provide {get,put}_page() stubs for early hyp allocator" This reverts commit b66c10e133975c2787c328a0bd233eee295b3126. This will be replaced by a FROMGIT patch shortly. Signed-off-by: Quentin Perret Change-Id: I6e353b0243a86e5590ac0533e29f90dde9a418c4 --- arch/arm64/kvm/hyp/nvhe/early_alloc.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/arch/arm64/kvm/hyp/nvhe/early_alloc.c b/arch/arm64/kvm/hyp/nvhe/early_alloc.c index 00de04153cc6..1306c430ab87 100644 --- a/arch/arm64/kvm/hyp/nvhe/early_alloc.c +++ b/arch/arm64/kvm/hyp/nvhe/early_alloc.c @@ -43,9 +43,6 @@ void *hyp_early_alloc_page(void *arg) return hyp_early_alloc_contig(1); } -static void hyp_early_alloc_get_page(void *addr) { } -static void hyp_early_alloc_put_page(void *addr) { } - void hyp_early_alloc_init(void *virt, unsigned long size) { base = cur = (unsigned long)virt; @@ -54,6 +51,4 @@ void hyp_early_alloc_init(void *virt, unsigned long size) hyp_early_alloc_mm_ops.zalloc_page = hyp_early_alloc_page; hyp_early_alloc_mm_ops.phys_to_virt = hyp_phys_to_virt; hyp_early_alloc_mm_ops.virt_to_phys = hyp_virt_to_phys; - hyp_early_alloc_mm_ops.get_page = hyp_early_alloc_get_page; - hyp_early_alloc_mm_ops.put_page = hyp_early_alloc_put_page; }