]> Git Repo - linux.git/commitdiff
KVM: x86/mmu: Make tdp_mmu_allowed static
authorDavid Matlack <[email protected]>
Mon, 13 Feb 2023 21:28:44 +0000 (13:28 -0800)
committerPaolo Bonzini <[email protected]>
Thu, 16 Feb 2023 17:29:50 +0000 (12:29 -0500)
Make tdp_mmu_allowed static since it is only ever used within
arch/x86/kvm/mmu/mmu.c.

Link: https://lore.kernel.org/kvm/[email protected]/
Reported-by: kernel test robot <[email protected]>
Signed-off-by: David Matlack <[email protected]>
Message-Id: <20230213212844.3062733[email protected]>
Signed-off-by: Paolo Bonzini <[email protected]>
arch/x86/kvm/mmu/mmu.c

index c91ee2927dd7b2cb21c1a931949fb08c0b52612c..c8ebe542c565f33a097e4d2428a8492e659854ee 100644 (file)
@@ -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;
This page took 0.171096 seconds and 4 git commands to generate.