aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/kvm/vmx.c
diff options
context:
space:
mode:
authorHannes Eder <hannes@hanneseder.net>2008-11-28 17:02:06 +0100
committerAvi Kivity <avi@redhat.com>2008-12-31 16:55:06 +0200
commitefff9e538f6bfa8ee2ca03f7e9a55d98df115186 (patch)
treecd6e4f7965828c67e7109a156f39e32e35fe0e94 /arch/x86/kvm/vmx.c
parentKVM: fix sparse warning (diff)
downloadlinux-dev-efff9e538f6bfa8ee2ca03f7e9a55d98df115186.tar.xz
linux-dev-efff9e538f6bfa8ee2ca03f7e9a55d98df115186.zip
KVM: VMX: fix sparse warning
Impact: make global function static arch/x86/kvm/vmx.c:134:3: warning: symbol 'vmx_capability' was not declared. Should it be static? Signed-off-by: Hannes Eder <hannes@hanneseder.net> Signed-off-by: Avi Kivity <avi@redhat.com>
Diffstat (limited to 'arch/x86/kvm/vmx.c')
-rw-r--r--arch/x86/kvm/vmx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kvm/vmx.c b/arch/x86/kvm/vmx.c
index 7ea485543cf8..e446f232588e 100644
--- a/arch/x86/kvm/vmx.c
+++ b/arch/x86/kvm/vmx.c
@@ -128,7 +128,7 @@ static struct vmcs_config {
u32 vmentry_ctrl;
} vmcs_config;
-struct vmx_capability {
+static struct vmx_capability {
u32 ept;
u32 vpid;
} vmx_capability;