projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e492208
)
KVM: x86/mmu: Make tdp_mmu_allowed static
author
David Matlack
<dmatlack@google.com>
Mon, 13 Feb 2023 21:28:44 +0000
(13:28 -0800)
committer
Paolo Bonzini
<pbonzini@redhat.com>
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/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>
arch/x86/kvm/mmu/mmu.c
patch
|
blob
|
history
diff --git
a/arch/x86/kvm/mmu/mmu.c
b/arch/x86/kvm/mmu/mmu.c
index c91ee2927dd7b2cb21c1a931949fb08c0b52612c..c8ebe542c565f33a097e4d2428a8492e659854ee 100644
(file)
--- 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;