diff options
author | Jan Kiszka <jan.kiszka@siemens.com> | 2011-06-01 06:57:30 -0400 |
---|---|---|
committer | Avi Kivity <avi@redhat.com> | 2011-07-12 06:16:08 -0400 |
commit | 2e4ce7f574369f374ad537a180b4870e2098cf0e (patch) | |
tree | 1aa7d1c65b79fcba30c820abb22b47607257376b /arch/x86 | |
parent | f411e6cdc275e63ead2ffb427d0497daae6f6069 (diff) |
KVM: VMX: Silence warning on 32-bit hosts
a is unused now on CONFIG_X86_32.
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
Diffstat (limited to 'arch/x86')
-rw-r--r-- | arch/x86/kvm/vmx.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/x86/kvm/vmx.c b/arch/x86/kvm/vmx.c index 54e732d74fb1..58badf1657d4 100644 --- a/arch/x86/kvm/vmx.c +++ b/arch/x86/kvm/vmx.c | |||
@@ -3602,7 +3602,9 @@ static u32 vmx_secondary_exec_control(struct vcpu_vmx *vmx) | |||
3602 | */ | 3602 | */ |
3603 | static int vmx_vcpu_setup(struct vcpu_vmx *vmx) | 3603 | static int vmx_vcpu_setup(struct vcpu_vmx *vmx) |
3604 | { | 3604 | { |
3605 | #ifdef CONFIG_X86_64 | ||
3605 | unsigned long a; | 3606 | unsigned long a; |
3607 | #endif | ||
3606 | int i; | 3608 | int i; |
3607 | 3609 | ||
3608 | /* I/O */ | 3610 | /* I/O */ |