From: Jan Kiszka Date: Wed, 1 Jun 2011 10:57:30 +0000 (+0200) Subject: KVM: VMX: Silence warning on 32-bit hosts X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=2e4ce7f574369f374ad537a180b4870e2098cf0e;p=linux-beck.git KVM: VMX: Silence warning on 32-bit hosts a is unused now on CONFIG_X86_32. Signed-off-by: Jan Kiszka Signed-off-by: Marcelo Tosatti --- 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) */ static int vmx_vcpu_setup(struct vcpu_vmx *vmx) { +#ifdef CONFIG_X86_64 unsigned long a; +#endif int i; /* I/O */