summaryrefslogtreecommitdiffstats
path: root/virt
diff options
context:
space:
mode:
authorBorislav Petkov <bp@alien8.de>2024-05-15 17:08:04 +0200
committerSean Christopherson <seanjc@google.com>2024-06-03 08:22:59 -0700
commit96a02b9fa95108269cd0cd012f091f86bd6f41a4 (patch)
tree2ddc9b1f7e1c28c9ee790be0fae0a3c63d9bc9b7 /virt
parentc3f38fa61af77b49866b006939479069cd451173 (diff)
downloadlinux-96a02b9fa95108269cd0cd012f091f86bd6f41a4.tar.gz
linux-96a02b9fa95108269cd0cd012f091f86bd6f41a4.tar.bz2
linux-96a02b9fa95108269cd0cd012f091f86bd6f41a4.zip
KVM: Unexport kvm_debugfs_dir
After faf01aef0570 ("KVM: PPC: Merge powerpc's debugfs entry content into generic entry") kvm_debugfs_dir is not used anywhere else outside of kvm_main.c Unexport it and make it static. Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de> Link: https://lore.kernel.org/r/20240515150804.9354-1-bp@kernel.org Signed-off-by: Sean Christopherson <seanjc@google.com>
Diffstat (limited to 'virt')
-rw-r--r--virt/kvm/kvm_main.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/virt/kvm/kvm_main.c b/virt/kvm/kvm_main.c
index 14841acb8b95..fabc3e287e56 100644
--- a/virt/kvm/kvm_main.c
+++ b/virt/kvm/kvm_main.c
@@ -110,8 +110,7 @@ static struct kmem_cache *kvm_vcpu_cache;
static __read_mostly struct preempt_ops kvm_preempt_ops;
static DEFINE_PER_CPU(struct kvm_vcpu *, kvm_running_vcpu);
-struct dentry *kvm_debugfs_dir;
-EXPORT_SYMBOL_GPL(kvm_debugfs_dir);
+static struct dentry *kvm_debugfs_dir;
static const struct file_operations stat_fops_per_vm;