KVM: VMX: Silence warning on 32-bit hosts
PATCH 1/1 KVM: VMX: Silence warning on 32-bit hosts
a is unused now on CONFIG_X86_32.
Signed-off-by Jan Kiszka <[email protected]>
--- arch/x86/kvm/vmx.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-)
arch/x86/kvm/vmx.c +2 -0
@@ -3601,7 +3601,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 */
Signature · 1 line
1.7.1
Marcelo Tosatti
AppliedQuoted 6 lines · Jan Kiszka
a is unused now on
CONFIG_X86_32.Signed-off-by Jan Kiszka <[email protected]>--- arch/x86/kvm/vmx.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-)
Applied, thanks.