aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--arch/x86/kvm/x86.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/x86/kvm/x86.c b/arch/x86/kvm/x86.c
index c7b6aed998e9..13728dbdbb56 100644
--- a/arch/x86/kvm/x86.c
+++ b/arch/x86/kvm/x86.c
@@ -5955,6 +5955,7 @@ static void process_smi_save_seg_32(struct kvm_vcpu *vcpu, char *buf, int n)
5955 put_smstate(u32, buf, offset, process_smi_get_segment_flags(&seg)); 5955 put_smstate(u32, buf, offset, process_smi_get_segment_flags(&seg));
5956} 5956}
5957 5957
5958#ifdef CONFIG_X86_64
5958static void process_smi_save_seg_64(struct kvm_vcpu *vcpu, char *buf, int n) 5959static void process_smi_save_seg_64(struct kvm_vcpu *vcpu, char *buf, int n)
5959{ 5960{
5960 struct kvm_segment seg; 5961 struct kvm_segment seg;
@@ -5970,6 +5971,7 @@ static void process_smi_save_seg_64(struct kvm_vcpu *vcpu, char *buf, int n)
5970 put_smstate(u32, buf, offset + 4, seg.limit); 5971 put_smstate(u32, buf, offset + 4, seg.limit);
5971 put_smstate(u64, buf, offset + 8, seg.base); 5972 put_smstate(u64, buf, offset + 8, seg.base);
5972} 5973}
5974#endif
5973 5975
5974static void process_smi_save_state_32(struct kvm_vcpu *vcpu, char *buf) 5976static void process_smi_save_state_32(struct kvm_vcpu *vcpu, char *buf)
5975{ 5977{