aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86
diff options
context:
space:
mode:
authorHannes Eder <hannes@hanneseder.net>2008-11-28 11:02:06 -0500
committerAvi Kivity <avi@redhat.com>2008-12-31 09:55:06 -0500
commitefff9e538f6bfa8ee2ca03f7e9a55d98df115186 (patch)
treecd6e4f7965828c67e7109a156f39e32e35fe0e94 /arch/x86
parente8ba5d311d0c4420e84f40ff50f83981f5864a9a (diff)
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')
-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 {
128 u32 vmentry_ctrl; 128 u32 vmentry_ctrl;
129} vmcs_config; 129} vmcs_config;
130 130
131struct vmx_capability { 131static struct vmx_capability {
132 u32 ept; 132 u32 ept;
133 u32 vpid; 133 u32 vpid;
134} vmx_capability; 134} vmx_capability;