[RFC PATCH] mmu: spp: is_spp_protected() can be static

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Fixes: aacd4e33a5dd ("mmu: spp: Enable Lazy mode SPP protection")
Signed-off-by: kbuild test robot <lkp@xxxxxxxxx>
---
 spp.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/x86/kvm/mmu/spp.c b/arch/x86/kvm/mmu/spp.c
index a5b881f438b1f..6b0317edf0b08 100644
--- a/arch/x86/kvm/mmu/spp.c
+++ b/arch/x86/kvm/mmu/spp.c
@@ -571,7 +571,7 @@ inline u64 construct_spptp(unsigned long root_hpa)
 }
 EXPORT_SYMBOL_GPL(construct_spptp);
 
-bool is_spp_protected(struct kvm_memory_slot *slot, gfn_t gfn, int level)
+static bool is_spp_protected(struct kvm_memory_slot *slot, gfn_t gfn, int level)
 {
 	int page_num = KVM_PAGES_PER_HPAGE(level);
 	u32 *access;



[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux