KVM: PPC: Book3S HV: Stop exporting symbols from book3s_64_mmu_radix
authorFabiano Rosas <farosas@linux.ibm.com>
Thu, 5 Aug 2021 21:26:16 +0000 (18:26 -0300)
committerMichael Ellerman <mpe@ellerman.id.au>
Tue, 24 Aug 2021 13:14:06 +0000 (23:14 +1000)
The book3s_64_mmu_radix.o object is not part of the KVM builtins and
all the callers of the exported symbols are in the same kvm-hv.ko
module so we should not need to export any symbols.

Signed-off-by: Fabiano Rosas <farosas@linux.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20210805212616.2641017-4-farosas@linux.ibm.com
arch/powerpc/kvm/book3s_64_mmu_radix.c

index 1b1c9e9e539ba5838fa7e718359a8b5e87591007..16359525a40f07d5545389e97b6629d5b109dca9 100644 (file)
@@ -86,7 +86,6 @@ unsigned long __kvmhv_copy_tofrom_guest_radix(int lpid, int pid,
 
        return ret;
 }
-EXPORT_SYMBOL_GPL(__kvmhv_copy_tofrom_guest_radix);
 
 static long kvmhv_copy_tofrom_guest_radix(struct kvm_vcpu *vcpu, gva_t eaddr,
                                          void *to, void *from, unsigned long n)
@@ -122,14 +121,12 @@ long kvmhv_copy_from_guest_radix(struct kvm_vcpu *vcpu, gva_t eaddr, void *to,
 
        return ret;
 }
-EXPORT_SYMBOL_GPL(kvmhv_copy_from_guest_radix);
 
 long kvmhv_copy_to_guest_radix(struct kvm_vcpu *vcpu, gva_t eaddr, void *from,
                               unsigned long n)
 {
        return kvmhv_copy_tofrom_guest_radix(vcpu, eaddr, NULL, from, n);
 }
-EXPORT_SYMBOL_GPL(kvmhv_copy_to_guest_radix);
 
 int kvmppc_mmu_walk_radix_tree(struct kvm_vcpu *vcpu, gva_t eaddr,
                               struct kvmppc_pte *gpte, u64 root,