diff options
author | Harvey Harrison <harvey.harrison@gmail.com> | 2008-02-19 13:32:02 -0500 |
---|---|---|
committer | Avi Kivity <avi@qumranet.com> | 2008-04-27 04:53:24 -0400 |
commit | 4866d5e3d59c7831c7fa117c246a39165817db0d (patch) | |
tree | 60210932670ba91014d8059a3ce3f3706f5a716c | |
parent | 77cd337f2246ae72915538383e8f5a6b7ffb363d (diff) |
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 <harvey.harrison@gmail.com>
Signed-off-by: Avi Kivity <avi@qumranet.com>
-rw-r--r-- | arch/x86/kvm/svm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kvm/svm.c b/arch/x86/kvm/svm.c index 7d73e935dcc1..ff6e5c8da3c6 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) | |||
66 | return container_of(vcpu, struct vcpu_svm, vcpu); | 66 | return container_of(vcpu, struct vcpu_svm, vcpu); |
67 | } | 67 | } |
68 | 68 | ||
69 | unsigned long iopm_base; | 69 | static unsigned long iopm_base; |
70 | 70 | ||
71 | struct kvm_ldttss_desc { | 71 | struct kvm_ldttss_desc { |
72 | u16 limit0; | 72 | u16 limit0; |