From: Harvey Harrison Date: Tue, 19 Feb 2008 18:32:02 +0000 (-0800) Subject: KVM: SVM: make iopm_base static X-Git-Tag: v2.6.26-rc1~1028^2~103 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4866d5e3d59c7831c7fa117c246a39165817db0d;p=linux-2.6 KVM: SVM: make iopm_base static Fixes sparse warning as well. arch/x86/kvm/svm.c:69:15: warning: symbol 'iopm_base' was not declared. Should it be static? Signed-off-by: Harvey Harrison Signed-off-by: Avi Kivity --- diff --git a/arch/x86/kvm/svm.c b/arch/x86/kvm/svm.c index 7d73e935dc..ff6e5c8da3 100644 --- a/arch/x86/kvm/svm.c +++ b/arch/x86/kvm/svm.c @@ -66,7 +66,7 @@ static inline struct vcpu_svm *to_svm(struct kvm_vcpu *vcpu) return container_of(vcpu, struct vcpu_svm, vcpu); } -unsigned long iopm_base; +static unsigned long iopm_base; struct kvm_ldttss_desc { u16 limit0;