projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
77cd337
)
KVM: SVM: make iopm_base static
author
Harvey Harrison
<harvey.harrison@gmail.com>
Tue, 19 Feb 2008 18:32:02 +0000
(10:32 -0800)
committer
Avi Kivity
<avi@qumranet.com>
Sun, 27 Apr 2008 08:53:24 +0000
(11:53 +0300)
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>
arch/x86/kvm/svm.c
patch
|
blob
|
history
diff --git
a/arch/x86/kvm/svm.c
b/arch/x86/kvm/svm.c
index 7d73e935dcc12ffc8c9e02f7dcedd89a097bbd5e..ff6e5c8da3c6816fd4365b1ffe75fc00959d0d42 100644
(file)
--- 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;