diff options
author | 2023-02-13 13:28:44 -0800 | |
---|---|---|
committer | 2023-02-16 12:29:50 -0500 | |
commit | 7f604e92fb805d2569aa5fb177a1c7231ea2f0cc (patch) | |
tree | 75bc0d55fc2795544ea8565c11dfd620eb17e5ec /arch/x86 | |
parent | Merge tag 'kvm-s390-next-6.3-1' of https://git.kernel.org/pub/scm/linux/kerne... (diff) | |
download | linux-7f604e92fb805d2569aa5fb177a1c7231ea2f0cc.tar.gz linux-7f604e92fb805d2569aa5fb177a1c7231ea2f0cc.tar.bz2 linux-7f604e92fb805d2569aa5fb177a1c7231ea2f0cc.zip |
KVM: x86/mmu: Make tdp_mmu_allowed static
Make tdp_mmu_allowed static since it is only ever used within
arch/x86/kvm/mmu/mmu.c.
Link: https://lore.kernel.org/kvm/202302072055.odjDVd5V-lkp@intel.com/
Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: David Matlack <dmatlack@google.com>
Message-Id: <20230213212844.3062733-1-dmatlack@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'arch/x86')
-rw-r--r-- | arch/x86/kvm/mmu/mmu.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kvm/mmu/mmu.c b/arch/x86/kvm/mmu/mmu.c index c91ee2927dd7..c8ebe542c565 100644 --- a/arch/x86/kvm/mmu/mmu.c +++ b/arch/x86/kvm/mmu/mmu.c @@ -101,7 +101,7 @@ module_param_named(flush_on_reuse, force_flush_and_sync_on_reuse, bool, 0644); */ bool tdp_enabled = false; -bool __ro_after_init tdp_mmu_allowed; +static bool __ro_after_init tdp_mmu_allowed; #ifdef CONFIG_X86_64 bool __read_mostly tdp_mmu_enabled = true; |