Skip to content

Commit

Permalink
KVM: SVM: make iopm_base static
Browse files Browse the repository at this point in the history
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 <harvey.harrison@gmail.com>
Signed-off-by: Avi Kivity <avi@qumranet.com>
  • Loading branch information
Harvey Harrison authored and Avi Kivity committed Apr 27, 2008
1 parent 77cd337 commit 4866d5e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/x86/kvm/svm.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 4866d5e

Please sign in to comment.