[RFC PATCH] x86/paravirt: kvm_sev_migration_hcall() can be static

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

 



Signed-off-by: kbuild test robot <lkp@xxxxxxxxx>
---
 kvm.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/arch/x86/kernel/kvm.c b/arch/x86/kernel/kvm.c
index 928ddb8a8cfc7..884ba9203d3b4 100644
--- a/arch/x86/kernel/kvm.c
+++ b/arch/x86/kernel/kvm.c
@@ -730,8 +730,8 @@ static void __init kvm_init_platform(void)
 }
 
 #if defined(CONFIG_AMD_MEM_ENCRYPT)
-long kvm_sev_migration_hcall(unsigned long physaddr, unsigned long npages,
-			     bool enc)
+static long kvm_sev_migration_hcall(unsigned long physaddr, unsigned long npages,
+				    bool enc)
 {
 	return kvm_sev_hypercall3(KVM_HC_PAGE_ENC_STATUS, physaddr, npages,
 				  enc);



[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